diff mbox series

dt-bindings: usb: aspeed: Remove the leading zeroes

Message ID 20200629214027.16768-1-festevam@gmail.com
State Accepted, archived
Headers show
Series dt-bindings: usb: aspeed: Remove the leading zeroes | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 10 lines checked
robh/dt-meta-schema success

Commit Message

Fabio Estevam June 29, 2020, 9:40 p.m. UTC
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

Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Tao Ren June 29, 2020, 11:39 p.m. UTC | #1
On Mon, Jun 29, 2020 at 06:40:27PM -0300, Fabio Estevam wrote:
> 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
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Thanks for the fix, Fabio!

Reviewed-by: Tao Ren <rentao.bupt@gmail.com>

> ---
>  Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
> index e4e83d3971ac..8b019ac05bbe 100644
> --- a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
> +++ b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
> @@ -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";
> -- 
> 2.17.1
>
Rob Herring June 30, 2020, 2:03 a.m. UTC | #2
On Mon, 29 Jun 2020 18:40:27 -0300, Fabio Estevam wrote:
> 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
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
index e4e83d3971ac..8b019ac05bbe 100644
--- a/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
+++ b/Documentation/devicetree/bindings/usb/aspeed,usb-vhub.yaml
@@ -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";