diff mbox series

[2/8] docs: dt: writing-schema: Remove spurious indentation

Message ID 20210325164713.1296407-3-robh@kernel.org
State Accepted
Commit 0d45f83351b1f31b2e2fb9e359664b9f7f89c846
Headers show
Series dt: doc build improvements and kerneldoc addition | expand

Commit Message

Rob Herring (Arm) March 25, 2021, 4:47 p.m. UTC
'allOf' and 'properties' have a leading space which causes them to be
indented in the doc output.

Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>

---
 Documentation/devicetree/writing-schema.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.27.0

Comments

Mauro Carvalho Chehab March 25, 2021, 5:51 p.m. UTC | #1
Em Thu, 25 Mar 2021 10:47:07 -0600
Rob Herring <robh@kernel.org> escreveu:

> 'allOf' and 'properties' have a leading space which causes them to be

> indented in the doc output.

> 

> Cc: Frank Rowand <frowand.list@gmail.com>

> Cc: Mauro Carvalho Chehab <mchehab@kernel.org>


Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>


> Signed-off-by: Rob Herring <robh@kernel.org>

> ---

>  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
diff mbox series

Patch

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.