diff options
| author | Marco Franchi <marco.franchi@nxp.com> | 2017-11-08 11:27:48 -0500 |
|---|---|---|
| committer | Rob Herring <robh@kernel.org> | 2017-11-09 18:05:05 -0500 |
| commit | 48c926cd3414c7e628909f6f831394184816da87 (patch) | |
| tree | de5e05396d6dbb04fdc9f37b26c003c90856c0bf /Documentation/devicetree/bindings/input | |
| parent | efb5b43a5410fefa0516691af8e73f255260f598 (diff) | |
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/input')
3 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt index 4357e498ef04..1458c3179a63 100644 --- a/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt +++ b/Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt | |||
| @@ -19,7 +19,7 @@ Example: | |||
| 19 | 19 | ||
| 20 | #include <dt-bindings/input/input.h> | 20 | #include <dt-bindings/input/input.h> |
| 21 | 21 | ||
| 22 | lradc: lradc@01c22800 { | 22 | lradc: lradc@1c22800 { |
| 23 | compatible = "allwinner,sun4i-a10-lradc-keys"; | 23 | compatible = "allwinner,sun4i-a10-lradc-keys"; |
| 24 | reg = <0x01c22800 0x100>; | 24 | reg = <0x01c22800 0x100>; |
| 25 | interrupts = <31>; | 25 | interrupts = <31>; |
diff --git a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt index 49fa14ed155c..298e3442f143 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt | |||
| @@ -10,7 +10,7 @@ Required properties: | |||
| 10 | 10 | ||
| 11 | Example: | 11 | Example: |
| 12 | 12 | ||
| 13 | egalax_ts@04 { | 13 | touchscreen@4 { |
| 14 | compatible = "eeti,egalax_ts"; | 14 | compatible = "eeti,egalax_ts"; |
| 15 | reg = <0x04>; | 15 | reg = <0x04>; |
| 16 | interrupt-parent = <&gpio1>; | 16 | interrupt-parent = <&gpio1>; |
diff --git a/Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt b/Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt index e67e58b61706..164915004424 100644 --- a/Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt +++ b/Documentation/devicetree/bindings/input/touchscreen/imx6ul_tsc.txt | |||
| @@ -21,7 +21,7 @@ Optional properties: | |||
| 21 | each read. Valid values are 1, 4, 8, 16 and 32. | 21 | each read. Valid values are 1, 4, 8, 16 and 32. |
| 22 | 22 | ||
| 23 | Example: | 23 | Example: |
| 24 | tsc: tsc@02040000 { | 24 | tsc: tsc@2040000 { |
| 25 | compatible = "fsl,imx6ul-tsc"; | 25 | compatible = "fsl,imx6ul-tsc"; |
| 26 | reg = <0x02040000 0x4000>, <0x0219c000 0x4000>; | 26 | reg = <0x02040000 0x4000>, <0x0219c000 0x4000>; |
| 27 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, | 27 | interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, |
