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>
这个提交包含在:
Marco Franchi
2017-11-08 14:27:48 -02:00
提交者 Rob Herring
父节点 efb5b43a54
当前提交 48c926cd34
修改 126 个文件,包含 172 行新增172 行删除

查看文件

@@ -66,7 +66,7 @@ See ".../sram/sram.txt" for the bindings.
Example:
hsp_top0: hsp@03c00000 {
hsp_top0: hsp@3c00000 {
...
#mbox-cells = <2>;
};