linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] arm64: dts: ls1028a-qds: Remove unnecessary #address-cells/#size-cells
@ 2019-10-26  0:01 Fabio Estevam
  2019-10-26  0:01 ` [PATCH 2/3] arm64: dts: ls1028a: Move thermal-zone out of SoC Fabio Estevam
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabio Estevam @ 2019-10-26  0:01 UTC (permalink / raw)
  To: shawnguo; +Cc: Fabio Estevam, linux-arm-kernel, leoyang.li

The following build warning is seen with W=1:

arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts:196.10-208.4: Warning (avoid_unnecessary_addr_size): /soc/i2c@2000000/fpga@66: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Fix it by removing the unnecessary #address-cells/#size-cells.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
index d98346da01df..1456d83f2bee 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds.dts
@@ -194,8 +194,6 @@
 	};
 
 	fpga@66 {
-		#address-cells = <1>;
-		#size-cells = <0>;
 		compatible = "fsl,ls1028aqds-fpga", "fsl,fpga-qixis-i2c",
 			     "simple-mfd";
 		reg = <0x66>;
-- 
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:[~2019-10-28 13:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-26  0:01 [PATCH 1/3] arm64: dts: ls1028a-qds: Remove unnecessary #address-cells/#size-cells Fabio Estevam
2019-10-26  0:01 ` [PATCH 2/3] arm64: dts: ls1028a: Move thermal-zone out of SoC Fabio Estevam
2019-10-26  0:01 ` [PATCH 3/3] arm64: dts: ls1028a: Fix tmu unit address Fabio Estevam
2019-10-28 13:14 ` [PATCH 1/3] arm64: dts: ls1028a-qds: Remove unnecessary #address-cells/#size-cells Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).