dt-bindings: dsa: Remove unnecessary #address/#size-cells
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 7 May 2018 12:17:51 +0000 (09:17 -0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 May 2018 00:28:44 +0000 (20:28 -0400)
commit53a7bdfb2a2756cce8003b90817f8a6fb4d830d9
treeff67d761d90607209451d83fb0a91c9e19faa30a
parent2b999ba899059eed00a03d029894a62486e7e2bc
dt-bindings: dsa: Remove unnecessary #address/#size-cells

If the example binding is used on a real dts file, the following DTC
warning is seen with W=1:

arch/arm/boot/dts/imx6q-b450v3.dtb: Warning (avoid_unnecessary_addr_size): /mdio-gpio/switch@0: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Remove unnecessary #address-cells/#size-cells to improve the binding
document examples.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/dsa.txt