[PATCH v1 2/2] tools/dt-extract-example: beautify output

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

 



Fix so first line in the output has same indent as the
rest of the lines in the example.
This makes the examples a little easier to read.

Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>
---
 tools/dt-extract-example | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/dt-extract-example b/tools/dt-extract-example
index 0e933e4..f1a222f 100755
--- a/tools/dt-extract-example
+++ b/tools/dt-extract-example
@@ -15,8 +15,7 @@ example_template = """
         #address-cells = <1>;
         #size-cells = <1>;
 
-{example}
-
+        {example}
     }};
 }};
 """
-- 
2.20.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