]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pinctrl: sdm845: Remove redundant CONFIG_SDM845 check
authorSumit Garg <sumit.garg@linaro.org>
Wed, 27 Jul 2022 08:22:03 +0000 (13:52 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 26 Aug 2022 14:55:46 +0000 (10:55 -0400)
DT compatible is sufficient to make platform specific differentiation,
so remove redundant CONFIG_SDM845 check.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
arch/arm/mach-snapdragon/Makefile
arch/arm/mach-snapdragon/pinctrl-snapdragon.c

index 0d31f10f68a4ff610c97e5c3fb661b3ffb058aef..cbaaf23f6b560c50f34092e1582a44aee504c8c4 100644 (file)
@@ -16,6 +16,6 @@ obj-y += pinctrl-snapdragon.o
 obj-y += pinctrl-apq8016.o
 obj-y += pinctrl-apq8096.o
 obj-y += pinctrl-qcs404.o
-obj-$(CONFIG_SDM845) += pinctrl-sdm845.o
+obj-y += pinctrl-sdm845.o
 obj-$(CONFIG_TARGET_QCS404EVB) += clock-qcs404.o
 obj-$(CONFIG_TARGET_QCS404EVB) += sysmap-qcs404.o
index c2148a5d0a059ad83d6ee2648f2f55568a6f0b7d..842e2da0c508b9f4eac9caaae7214ab4aaea82ed 100644 (file)
@@ -116,9 +116,7 @@ static struct pinctrl_ops msm_pinctrl_ops = {
 static const struct udevice_id msm_pinctrl_ids[] = {
        { .compatible = "qcom,tlmm-apq8016", .data = (ulong)&apq8016_data },
        { .compatible = "qcom,tlmm-apq8096", .data = (ulong)&apq8096_data },
-#ifdef CONFIG_SDM845
        { .compatible = "qcom,tlmm-sdm845", .data = (ulong)&sdm845_data },
-#endif
        { .compatible = "qcom,tlmm-qcs404", .data = (ulong)&qcs404_data },
        { }
 };