dt-bindings: usb: fix example hub node name
authorJohan Hovold <johan@kernel.org>
Thu, 9 Nov 2017 17:07:16 +0000 (18:07 +0100)
committerRob Herring <robh@kernel.org>
Thu, 16 Nov 2017 17:01:14 +0000 (11:01 -0600)
According to the OF Recommended Practice for USB, hub nodes shall be
named "hub", but the example had mixed up the label and node names. Fix
the node name and drop the redundant label.

While at it, remove a newline and add a missing semicolon to the example
source.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/usb/usb-device.txt

index ce02cebac26afdc80d99600725b3aaec24cb01e9..4df7e22e0084645f913675abac1f30ebc95a5f49 100644 (file)
@@ -16,12 +16,11 @@ Required properties:
 Example:
 
 &usb1 {
-
        #address-cells = <1>;
        #size-cells = <0>;
 
-       hub: genesys@1 {
+       hub@1 {
                compatible = "usb5e3,608";
                reg = <1>;
        };
-}
+};