diff options
author | Marco Franchi <marco.franchi@nxp.com> | 2017-11-08 14:27:48 -0200 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2017-11-09 17:05:05 -0600 |
commit | 48c926cd3414c7e628909f6f831394184816da87 (patch) | |
tree | de5e05396d6dbb04fdc9f37b26c003c90856c0bf /Documentation/devicetree/bindings/i2c | |
parent | efb5b43a5410fefa0516691af8e73f255260f598 (diff) | |
download | blackbird-obmc-linux-48c926cd3414c7e628909f6f831394184816da87.tar.gz blackbird-obmc-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/i2c')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-axxia.txt | 2 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-sunxi-p2wi.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-axxia.txt b/Documentation/devicetree/bindings/i2c/i2c-axxia.txt index 2296d782b4c2..7d53a2b79553 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-axxia.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-axxia.txt @@ -17,7 +17,7 @@ Optional properties : Example : -i2c@02010084000 { +i2c@2010084000 { compatible = "lsi,api2c"; device_type = "i2c"; #address-cells = <1>; diff --git a/Documentation/devicetree/bindings/i2c/i2c-sunxi-p2wi.txt b/Documentation/devicetree/bindings/i2c/i2c-sunxi-p2wi.txt index 6b765485af7d..49df0053347a 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-sunxi-p2wi.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-sunxi-p2wi.txt @@ -24,7 +24,7 @@ Slave device properties: Example: - p2wi@01f03400 { + p2wi@1f03400 { compatible = "allwinner,sun6i-a31-p2wi"; reg = <0x01f03400 0x400>; interrupts = <0 39 4>; |