]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: qcom: sdm845: remove macro from unit name
authorVinod Koul <vkoul@kernel.org>
Wed, 24 Jul 2019 04:49:05 +0000 (10:19 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 25 Jul 2019 14:38:36 +0000 (07:38 -0700)
Unit name is supposed to be a number, using a macro with hex value is
not recommended, so add the value in unit name.

arch/arm64/boot/dts/qcom/pm8998.dtsi:81.18-84.6: Warning (unit_address_format): /soc/spmi@c440000/pmic@0/adc@3100/adc-chan@0x06: unit name should not have leading "0x"
arch/arm64/boot/dts/qcom/pm8998.dtsi:81.18-84.6: Warning (unit_address_format): /soc/spmi@c440000/pmic@0/adc@3100/adc-chan@0x06: unit name should not have leading 0s

Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/pm8998.dtsi

index 051a52df80f9eb2e0e0bedfc9e62b38fba557cb9..dc2ce23cde0545be93f0e7dd9dded52d3c528772 100644 (file)
@@ -78,7 +78,7 @@ pm8998_adc: adc@3100 {
                        #size-cells = <0>;
                        #io-channel-cells = <1>;
 
-                       adc-chan@ADC5_DIE_TEMP {
+                       adc-chan@6 {
                                reg = <ADC5_DIE_TEMP>;
                                label = "die_temp";
                        };