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 051a52d..dc2ce23 100644 (file)
@@ -78,7 +78,7 @@
                        #size-cells = <0>;
                        #io-channel-cells = <1>;
 
-                       adc-chan@ADC5_DIE_TEMP {
+                       adc-chan@6 {
                                reg = <ADC5_DIE_TEMP>;
                                label = "die_temp";
                        };