ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells
authorFabio Estevam <festevam@gmail.com>
Mon, 17 Aug 2020 18:01:42 +0000 (15:01 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 Aug 2020 02:06:02 +0000 (10:06 +0800)
The following dtc warning is seen when building with W=1:

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

Remove the unneeded #address-cells/#size-cells properties to fix the issue.

Fixes: 64bf0a0af18d ("ARM: dts: imx6qdl-gw: add Gateworks System Controller support")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-gw51xx.dtsi

index 7705285..4d01c33 100644 (file)
@@ -22,8 +22,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                user-pb {
                        label = "user_pb";