summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2017-11-09 20:07:16 +0300
committerRob Herring <robh@kernel.org>2017-11-16 20:01:14 +0300
commit1759f27027c88adfd94b436fda219eb80531bf6d (patch)
tree761ea15584a2e7eea9b3e3b9bef2c0a35291fd96 /Documentation/devicetree/bindings/usb
parentc545f637f81ebab88c257a243083a879af0b85b7 (diff)
downloadlinux-1759f27027c88adfd94b436fda219eb80531bf6d.tar.xz
dt-bindings: usb: fix example hub node name
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>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r--Documentation/devicetree/bindings/usb/usb-device.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb-device.txt b/Documentation/devicetree/bindings/usb/usb-device.txt
index ce02cebac26a..4df7e22e0084 100644
--- a/Documentation/devicetree/bindings/usb/usb-device.txt
+++ b/Documentation/devicetree/bindings/usb/usb-device.txt
@@ -16,12 +16,11 @@ Required properties:
Example:
&usb1 {
-
#address-cells = <1>;
#size-cells = <0>;
- hub: genesys@1 {
+ hub@1 {
compatible = "usb5e3,608";
reg = <1>;
};
-}
+};