All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells
@ 2020-08-17 18:01 Fabio Estevam
  2020-08-17 18:01 ` [PATCH 2/2] ARM: dts: imx6q-prtwd2: Remove unneeded i2c unit name Fabio Estevam
  2020-08-23  2:06 ` [PATCH 1/2] ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Fabio Estevam @ 2020-08-17 18:01 UTC (permalink / raw)
  To: shawnguo; +Cc: o.rempel, tharvey, robh+dt, Fabio Estevam, linux-arm-kernel

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>
---
 arch/arm/boot/dts/imx6qdl-gw51xx.dtsi | 2 --
 1 file changed, 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";
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-23  2:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17 18:01 [PATCH 1/2] ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells Fabio Estevam
2020-08-17 18:01 ` [PATCH 2/2] ARM: dts: imx6q-prtwd2: Remove unneeded i2c unit name Fabio Estevam
2020-08-18  5:07   ` Oleksij Rempel
2020-08-23  2:06 ` [PATCH 1/2] ARM: dts: imx6qdl-gw51xx: Remove unneeded #address-cells/#size-cells Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.