summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-08-17 15:01:42 -0300
committerShawn Guo <shawnguo@kernel.org>2020-08-23 10:06:02 +0800
commit140a1dc5aea1648258bd9a5e6186331199212079 (patch)
tree33e444206ac4f42df0412db6b048c5db1f3fdb38
parentdeb6323b739c54e1a1e83cd3a2bae4901e3eebf6 (diff)
downloadlinux-stable-140a1dc5aea1648258bd9a5e6186331199212079.tar.gz
linux-stable-140a1dc5aea1648258bd9a5e6186331199212079.tar.bz2
linux-stable-140a1dc5aea1648258bd9a5e6186331199212079.zip
ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells
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>
-rw-r--r--arch/arm/boot/dts/imx6qdl-gw51xx.dtsi2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
index 7705285d9e3c..4d01c3300b97 100644
--- a/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-gw51xx.dtsi
@@ -22,8 +22,6 @@
gpio-keys {
compatible = "gpio-keys";
- #address-cells = <1>;
- #size-cells = <0>;
user-pb {
label = "user_pb";