diff options
author | Mathieu Malaterre <malat@debian.org> | 2017-11-29 21:55:15 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-12-06 14:56:33 -0600 |
commit | 4c9847b7375aa9d49681497f7236fdbdab02ba7a (patch) | |
tree | f6611ba66d38bc5fa29215cc1f91e1fd908df490 /Documentation/devicetree/bindings/gpio/gpio-altera.txt | |
parent | 6de67de326041c3a450a117b2733cbedd3aab097 (diff) |
dt-bindings: Remove leading 0x from bindings notation
Improve the binding example by removing all the leading 0x to fix the
following dtc warnings:
Warning (unit_address_format): Node /XXX unit name should not have leading "0x"
Converted using the following command:
find Documentation/devicetree/bindings -name "*.txt" -exec sed -i -e 's/([^ ])\@0x([0-9a-f])/$1\@$2/g' {} +
This is a follow up to commit 48c926cd3414
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-altera.txt')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-altera.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-altera.txt b/Documentation/devicetree/bindings/gpio/gpio-altera.txt index 826a7208ca93..146e554b3c67 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-altera.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-altera.txt @@ -30,7 +30,7 @@ Optional properties: Example: -gpio_altr: gpio@0xff200000 { +gpio_altr: gpio@ff200000 { compatible = "altr,pio-1.0"; reg = <0xff200000 0x10>; interrupts = <0 45 4>; |