summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt
diff options
context:
space:
mode:
authorMarco Franchi2017-11-08 17:27:48 +0100
committerRob Herring2017-11-10 00:05:05 +0100
commit48c926cd3414c7e628909f6f831394184816da87 (patch)
treede5e05396d6dbb04fdc9f37b26c003c90856c0bf /Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt
parentdt-bindings: add vendor prefix for Next Thing Co. (diff)
downloadkernel-qcow2-linux-48c926cd3414c7e628909f6f831394184816da87.tar.gz
kernel-qcow2-linux-48c926cd3414c7e628909f6f831394184816da87.tar.xz
kernel-qcow2-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/mfd/sun4i-gpadc.txt')
-rw-r--r--Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt b/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt
index badff3611a98..86dd8191b04c 100644
--- a/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt
+++ b/Documentation/devicetree/bindings/mfd/sun4i-gpadc.txt
@@ -10,7 +10,7 @@ Required properties:
- #io-channel-cells: shall be 0,
Example:
- ths: ths@01c25000 {
+ ths: ths@1c25000 {
compatible = "allwinner,sun8i-a33-ths";
reg = <0x01c25000 0x100>;
#thermal-sensor-cells = <0>;
@@ -47,7 +47,7 @@ Optional properties:
Example:
- rtp: rtp@01c25000 {
+ rtp: rtp@1c25000 {
compatible = "allwinner,sun4i-a10-ts";
reg = <0x01c25000 0x100>;
interrupts = <29>;