diff mbox series

[1/3] arm64: dts: ls1028a-qds: Remove unnecessary #address-cells/#size-cells

Message ID 20191026000119.27178-1-festevam@gmail.com (mailing list archive)
State Mainlined
Commit f7e5bb37c45b6edbfad6482a0155821e7e08b66a
Headers show
Series [1/3] arm64: dts: ls1028a-qds: Remove unnecessary #address-cells/#size-cells | expand

Commit Message

Fabio Estevam Oct. 26, 2019, 12:01 a.m. UTC
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(-)

Comments

Shawn Guo Oct. 28, 2019, 1:14 p.m. UTC | #1
On Fri, Oct 25, 2019 at 09:01:17PM -0300, Fabio Estevam wrote:
> 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>

Applied all, thanks.
diff mbox series

Patch

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>;