summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mtd/gpmc-nor.txt
diff options
context:
space:
mode:
authorMathieu Malaterre2017-11-29 21:55:15 +0100
committerRob Herring2017-12-06 21:56:33 +0100
commit4c9847b7375aa9d49681497f7236fdbdab02ba7a (patch)
treef6611ba66d38bc5fa29215cc1f91e1fd908df490 /Documentation/devicetree/bindings/mtd/gpmc-nor.txt
parentof: overlay: Remove else after goto (diff)
downloadkernel-qcow2-linux-4c9847b7375aa9d49681497f7236fdbdab02ba7a.tar.gz
kernel-qcow2-linux-4c9847b7375aa9d49681497f7236fdbdab02ba7a.tar.xz
kernel-qcow2-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/mtd/gpmc-nor.txt')
-rw-r--r--Documentation/devicetree/bindings/mtd/gpmc-nor.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/mtd/gpmc-nor.txt b/Documentation/devicetree/bindings/mtd/gpmc-nor.txt
index 131d3a74d0bd..c8567b40fe13 100644
--- a/Documentation/devicetree/bindings/mtd/gpmc-nor.txt
+++ b/Documentation/devicetree/bindings/mtd/gpmc-nor.txt
@@ -82,15 +82,15 @@ gpmc: gpmc@6e000000 {
label = "bootloader-nor";
reg = <0 0x40000>;
};
- partition@0x40000 {
+ partition@40000 {
label = "params-nor";
reg = <0x40000 0x40000>;
};
- partition@0x80000 {
+ partition@80000 {
label = "kernel-nor";
reg = <0x80000 0x200000>;
};
- partition@0x280000 {
+ partition@280000 {
label = "filesystem-nor";
reg = <0x240000 0x7d80000>;
};