Skip to contentSkip to conversation

ARM: dts: imx6qdl-gw52xx: Remove unnecessary #address-cells/#size-cells

PATCH In review Fabio Estevam 2 participants 3 messages Nov 24, 2020 – Nov 30, 2020

Subsystems (2)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH 1/1 ARM: dts: imx6qdl-gw52xx: Remove unnecessary #address-cells/#size-cells

The following W=1 build warning is observed:

arch/arm/boot/dts/imx6qdl-gw52xx.dtsi:33.12-78.4: Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Remove the unnecessary #address-cells/#size-cells to avoid such a warning.

---
 arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +0 -2
index 736074f1c3ef..1fb9e972b390 100644
@@ -32,8 +32,6 @@
 
 	gpio-keys {
 		compatible = "gpio-keys";
-		#address-cells = <1>;
-		#size-cells = <0>;
 
 		user-pb {
 			label = "user_pb";
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw
Quoted 26 lines · Fabio Estevam

The following W=1 build warning is observed:

arch/arm/boot/dts/imx6qdl-gw52xx.dtsi:33.12-78.4: Warning (avoid_unnecessary_addr_size): /gpio-keys: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Remove the unnecessary #address-cells/#size-cells to avoid such a warning.

---
 arch/arm/boot/dts/imx6qdl-gw52xx.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm/boot/dts/imx6qdl-gw52xx.dtsi +0 -3
index 736074f1c3ef..1fb9e972b390 100644
@@ -32,8 +32,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                user-pb {
                        label = "user_pb";
--
Quoted 2 lines

2.17.1

Fabio,

Thanks for noticing this. I have the same issue in most of the other imx6qdl-gw*.dtsi files. I can address all at once and drop this patch if that makes sense?

Best Regards,

Tim

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel