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>
This commit is contained in:

committed by
Rob Herring

parent
efb5b43a54
commit
48c926cd34
@@ -17,7 +17,7 @@ Optional properties :
|
||||
|
||||
Example :
|
||||
|
||||
i2c@02010084000 {
|
||||
i2c@2010084000 {
|
||||
compatible = "lsi,api2c";
|
||||
device_type = "i2c";
|
||||
#address-cells = <1>;
|
||||
|
@@ -24,7 +24,7 @@ Slave device properties:
|
||||
|
||||
Example:
|
||||
|
||||
p2wi@01f03400 {
|
||||
p2wi@1f03400 {
|
||||
compatible = "allwinner,sun6i-a31-p2wi";
|
||||
reg = <0x01f03400 0x400>;
|
||||
interrupts = <0 39 4>;
|
||||
|
Reference in New Issue
Block a user