Skip to contentSkip to conversation

ARM: dts: qcom: Remove extra reg element from iadc device

PATCH In review Stephen Boyd 2 participants 2 messages Aug 26, 2015 – Sep 1, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: qcom: Remove extra reg element from iadc device

This doesn't match the binding, and the driver doesn't look to be using it. Remove the extra element.

CC Ivan T. Ivanov <[email protected]>
---
 arch/arm/boot/dts/qcom-pm8941.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/qcom-pm8941.dtsi +1 -2
index 968f1043d4f5..0fe1080aeb20 100644
@@ -120,8 +120,7 @@
 
 		pm8941_iadc: iadc at 3600 {
 			compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
-			reg = <0x3600 0x100>,
-				  <0x12f1 0x1>;
+			reg = <0x3600 0x100>;
 			interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
 			qcom,external-resistor-micro-ohms = <10000>;
 		};
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Stephen Boyd

This doesn't match the binding, and the driver doesn't look to be using it. Remove the extra element.

CC Ivan T. Ivanov ivanov at linaro.org>

Leftover from earlier driver version.

Thanks.

Quoted 19 lines
---
 arch/arm/boot/dts/qcom-pm8941.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/boot/dts/qcom-pm8941.dtsi +1 -2
index 968f1043d4f5..0fe1080aeb20 100644
@@ -120,8 +120,7 @@
 
                pm8941_iadc: iadc at 3600 {
                        compatible = "qcom,pm8941-iadc", "qcom,spmi-iadc";
-                       reg = <0x3600 0x100>,
-                                               <0x12f1 0x1>;
+                       reg = <0x3600 0x100>;
                        interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
                        qcom,external-resistor-micro-ohms = <10000>;
                };