aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-05-07 08:17:51 -0400
committerDavid S. Miller <davem@davemloft.net>2018-05-08 20:28:44 -0400
commit53a7bdfb2a2756cce8003b90817f8a6fb4d830d9 (patch)
treeff67d761d90607209451d83fb0a91c9e19faa30a
parent2b999ba899059eed00a03d029894a62486e7e2bc (diff)
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>
-rw-r--r--Documentation/devicetree/bindings/net/dsa/dsa.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/dsa.txt b/Documentation/devicetree/bindings/net/dsa/dsa.txt
index cfe8f64eca4f..3ceeb8de1196 100644
--- a/Documentation/devicetree/bindings/net/dsa/dsa.txt
+++ b/Documentation/devicetree/bindings/net/dsa/dsa.txt
@@ -82,8 +82,6 @@ linked into one DSA cluster.
82 82
83 switch0: switch0@0 { 83 switch0: switch0@0 {
84 compatible = "marvell,mv88e6085"; 84 compatible = "marvell,mv88e6085";
85 #address-cells = <1>;
86 #size-cells = <0>;
87 reg = <0>; 85 reg = <0>;
88 86
89 dsa,member = <0 0>; 87 dsa,member = <0 0>;
@@ -135,8 +133,6 @@ linked into one DSA cluster.
135 133
136 switch1: switch1@0 { 134 switch1: switch1@0 {
137 compatible = "marvell,mv88e6085"; 135 compatible = "marvell,mv88e6085";
138 #address-cells = <1>;
139 #size-cells = <0>;
140 reg = <0>; 136 reg = <0>;
141 137
142 dsa,member = <0 1>; 138 dsa,member = <0 1>;
@@ -204,8 +200,6 @@ linked into one DSA cluster.
204 200
205 switch2: switch2@0 { 201 switch2: switch2@0 {
206 compatible = "marvell,mv88e6085"; 202 compatible = "marvell,mv88e6085";
207 #address-cells = <1>;
208 #size-cells = <0>;
209 reg = <0>; 203 reg = <0>;
210 204
211 dsa,member = <0 2>; 205 dsa,member = <0 2>;