summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nios2
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2017-11-29 21:55:15 +0100
committerRob Herring <robh@kernel.org>2017-12-06 21:56:33 +0100
commit4c9847b7375aa9d49681497f7236fdbdab02ba7a (patch)
treef6611ba66d38bc5fa29215cc1f91e1fd908df490 /Documentation/devicetree/bindings/nios2
parentof: overlay: Remove else after goto (diff)
downloadlinux-4c9847b7375aa9d49681497f7236fdbdab02ba7a.tar.xz
linux-4c9847b7375aa9d49681497f7236fdbdab02ba7a.zip
dt-bindings: Remove leading 0x from bindings notation
Improve the binding example by removing all the leading 0x to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" Converted using the following command: find Documentation/devicetree/bindings -name "*.txt" -exec sed -i -e 's/([^ ])\@0x([0-9a-f])/$1\@$2/g' {} + This is a follow up to commit 48c926cd3414 Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/nios2')
-rw-r--r--Documentation/devicetree/bindings/nios2/nios2.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/nios2/nios2.txt b/Documentation/devicetree/bindings/nios2/nios2.txt
index d6d0a94cb3bb..b95e831bcba3 100644
--- a/Documentation/devicetree/bindings/nios2/nios2.txt
+++ b/Documentation/devicetree/bindings/nios2/nios2.txt
@@ -36,7 +36,7 @@ Optional properties:
Example:
-cpu@0x0 {
+cpu@0 {
device_type = "cpu";
compatible = "altr,nios2-1.0";
reg = <0>;