diff options
author | Marco Franchi <marco.franchi@nxp.com> | 2017-11-08 17:27:48 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-11-10 00:05:05 +0100 |
commit | 48c926cd3414c7e628909f6f831394184816da87 (patch) | |
tree | de5e05396d6dbb04fdc9f37b26c003c90856c0bf /Documentation/devicetree/bindings/gpio/gpio-tz1090.txt | |
parent | dt-bindings: add vendor prefix for Next Thing Co. (diff) | |
download | linux-48c926cd3414c7e628909f6f831394184816da87.tar.xz linux-48c926cd3414c7e628909f6f831394184816da87.zip |
dt-bindings: Remove leading zeros from bindings notation
Improve the binding example by removing all the leading zeros to fix the
following dtc warnings:
Warning (unit_address_format): Node /XXX unit name should not have leading 0s
Converted using the following command:
perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"`
Some unnecessary changes were manually fixed.
Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio/gpio-tz1090.txt')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-tz1090.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-tz1090.txt b/Documentation/devicetree/bindings/gpio/gpio-tz1090.txt index 174cdf309170..b05a90e0ab29 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-tz1090.txt +++ b/Documentation/devicetree/bindings/gpio/gpio-tz1090.txt @@ -59,7 +59,7 @@ Required properties: Example: - gpios: gpio-controller@02005800 { + gpios: gpio-controller@2005800 { #address-cells = <1>; #size-cells = <0>; compatible = "img,tz1090-gpio"; |