[PATCH dt-schema] test: Fix whitespace in example in good-example.yaml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  - Add missing space between root path and opening curly brace,
  - Fix misaligned "cpus" subnode,
  - Add blank line between properties and subnodes,
  - Drop unneeded blank line,
  - Convert to customary 4-space indentation.

Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
---
 test/schemas/good-example.yaml | 62 +++++++++++++++++-----------------
 1 file changed, 31 insertions(+), 31 deletions(-)

diff --git a/test/schemas/good-example.yaml b/test/schemas/good-example.yaml
index b8493a97b8e45ec8..b393ad9999b92736 100644
--- a/test/schemas/good-example.yaml
+++ b/test/schemas/good-example.yaml
@@ -185,34 +185,34 @@ additionalProperties: false
 
 examples:
   - |
-      /dts-v1/;
-      /{
-              model = "ARM Juno development board (r0)";
-              compatible = "arm,juno", "arm,vexpress";
-              interrupt-parent = <&gic>;
-              #address-cells = <2>;
-              #size-cells = <2>;
-
-                      cpus {
-                      #address-cells = <2>;
-                      #size-cells = <0>;
-                      A57_0: cpu@0 {
-                              compatible = "arm,cortex-a57","arm,armv8";
-                              reg = <0x0 0x0>;
-                              device_type = "cpu";
-                              enable-method = "psci";
-                      };
-
-                      .....
-
-                      A53_0: cpu@100 {
-                              compatible = "arm,cortex-a53","arm,armv8";
-                              reg = <0x0 0x100>;
-                              device_type = "cpu";
-                              enable-method = "psci";
-                      };
-
-                      .....
-              };
-
-      };
+    /dts-v1/;
+    / {
+        model = "ARM Juno development board (r0)";
+        compatible = "arm,juno", "arm,vexpress";
+        interrupt-parent = <&gic>;
+        #address-cells = <2>;
+        #size-cells = <2>;
+
+        cpus {
+            #address-cells = <2>;
+            #size-cells = <0>;
+
+            A57_0: cpu@0 {
+                compatible = "arm,cortex-a57","arm,armv8";
+                reg = <0x0 0x0>;
+                device_type = "cpu";
+                enable-method = "psci";
+            };
+
+            .....
+
+            A53_0: cpu@100 {
+                compatible = "arm,cortex-a53","arm,armv8";
+                reg = <0x0 0x100>;
+                device_type = "cpu";
+                enable-method = "psci";
+            };
+
+            .....
+        };
+    };
-- 
2.25.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux