[PATCH] dt: writing-schema: Fix indentation of items

From: Jerome Pouiller
Date: Tue Oct 06 2020 - 11:29:54 EST


From: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>

The items 'allOf' and 'properties' are indented with one space. This
change as been introduced in commit cdea0121ae80 ("docs:
writing-schema.md: convert from markdown to ReST") and it produces weird
results in Html and Pdf outputs.

Obviously, this extra indentation was unattended.

Fixes: cdea0121ae80 ("docs: writing-schema.md: convert from markdown to ReST")
Signed-off-by: Jérôme Pouiller <jerome.pouiller@xxxxxxxxxx>
---
Documentation/devicetree/writing-schema.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/writing-schema.rst b/Documentation/devicetree/writing-schema.rst
index 16f21e182ff6..03e279d8fd6a 100644
--- a/Documentation/devicetree/writing-schema.rst
+++ b/Documentation/devicetree/writing-schema.rst
@@ -46,12 +46,12 @@ select
schema. By default without 'select', nodes are matched against their possible
compatible string values or node name. Most bindings should not need select.

- allOf
+allOf
Optional. A list of other schemas to include. This is used to
include other schemas the binding conforms to. This may be schemas for a
particular class of devices such as I2C or SPI controllers.

- properties
+properties
A set of sub-schema defining all the DT properties for the
binding. The exact schema syntax depends on whether properties are known,
common properties (e.g. 'interrupts') or are binding/vendor specific properties.
--
2.28.0