]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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: c20f4aa3c33e ("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 7705285d9e3c7de096fab0c696534fa78c384337..4d01c3300b975c5dd1046c4b9feec5a6e24ef753 100644 (file)
@@ -22,8 +22,6 @@
 
        gpio-keys {
                compatible = "gpio-keys";
-               #address-cells = <1>;
-               #size-cells = <0>;
 
                user-pb {
                        label = "user_pb";