2021-03-25 16:49:13

by Rob Herring (Arm)

[permalink] [raw]
Subject: [PATCH 2/8] docs: dt: writing-schema: Remove spurious indentation

'allOf' and 'properties' have a leading space which causes them to be
indented in the doc output.

Cc: Frank Rowand <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
---
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.27.0


2021-03-25 17:54:05

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: [PATCH 2/8] docs: dt: writing-schema: Remove spurious indentation

Em Thu, 25 Mar 2021 10:47:07 -0600
Rob Herring <[email protected]> escreveu:

> 'allOf' and 'properties' have a leading space which causes them to be
> indented in the doc output.
>
> Cc: Frank Rowand <[email protected]>
> Cc: Mauro Carvalho Chehab <[email protected]>

Reviewed-by: Mauro Carvalho Chehab <[email protected]>

> Signed-off-by: Rob Herring <[email protected]>
> ---
> 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.



Thanks,
Mauro