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/interrupt-controller | |
| 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/interrupt-controller')
| -rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt | 2 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt index 4ae553eb333d..4903fb72d883 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/allwinner,sunxi-nmi.txt | |||
| @@ -20,7 +20,7 @@ Required properties: | |||
| 20 | 20 | ||
| 21 | Example: | 21 | Example: |
| 22 | 22 | ||
| 23 | sc-nmi-intc@01c00030 { | 23 | sc-nmi-intc@1c00030 { |
| 24 | compatible = "allwinner,sun7i-a20-sc-nmi"; | 24 | compatible = "allwinner,sun7i-a20-sc-nmi"; |
| 25 | interrupt-controller; | 25 | interrupt-controller; |
| 26 | #interrupt-cells = <2>; | 26 | #interrupt-cells = <2>; |
diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt b/Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt index d9bb106bdd16..5f94d7739d8d 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt +++ b/Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt | |||
| @@ -20,7 +20,7 @@ Please refer to interrupts.txt in this directory for details of the common | |||
| 20 | Interrupt Controllers bindings used by client devices. | 20 | Interrupt Controllers bindings used by client devices. |
| 21 | 21 | ||
| 22 | Example: | 22 | Example: |
| 23 | kirq0: keystone_irq0@026202a0 { | 23 | kirq0: keystone_irq0@26202a0 { |
| 24 | compatible = "ti,keystone-irq"; | 24 | compatible = "ti,keystone-irq"; |
| 25 | ti,syscon-dev = <&devctrl 0x2a0>; | 25 | ti,syscon-dev = <&devctrl 0x2a0>; |
| 26 | interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; | 26 | interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; |
