OSDN Git Service

dt-bindings: usb: aspeed: Remove the leading zeroes
authorFabio Estevam <festevam@gmail.com>
Mon, 29 Jun 2020 21:40:27 +0000 (18:40 -0300)
committerRob Herring <robh@kernel.org>
Tue, 30 Jun 2020 14:42:26 +0000 (08:42 -0600)
Remove the leading zeroes to fix the following warning seen with
'make dt_binding_check':

Documentation/devicetree/bindings/usb/aspeed,usb-vhub.example.dts:37.33-42.23: Warning (unit_address_format): /example-0/usb-vhub@1e6a0000/vhub-strings/string@0409: unit name should not have leading 0s

Reviewed-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/20200629214027.16768-1-festevam@gmail.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml

index e4e83d3..8b019ac 100644 (file)
@@ -127,8 +127,8 @@ examples:
                 #address-cells = <1>;
                 #size-cells = <0>;
 
-                string@0409 {
-                        reg = <0x0409>;
+                string@409 {
+                        reg = <0x409>;
                         manufacturer = "ASPEED";
                         product = "USB Virtual Hub";
                         serial-number = "0000";