2020-03-05 22:37:21

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH] dt-bindings: mfd: cros-ec: Fix indentation in the example

Properties get one more level of indentation than the node they are in.

Signed-off-by: Jonathan Neuschäfer <[email protected]>
---
Documentation/devicetree/bindings/mfd/cros-ec.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/mfd/cros-ec.txt b/Documentation/devicetree/bindings/mfd/cros-ec.txt
index 4860eabd0f72..3bf9d0868b98 100644
--- a/Documentation/devicetree/bindings/mfd/cros-ec.txt
+++ b/Documentation/devicetree/bindings/mfd/cros-ec.txt
@@ -65,9 +65,9 @@ spi@131b0000 {
wakeup-source;
spi-max-frequency = <5000000>;
controller-data {
- cs-gpio = <&gpf0 3 4 3 0>;
- samsung,spi-cs;
- samsung,spi-feedback-delay = <2>;
+ cs-gpio = <&gpf0 3 4 3 0>;
+ samsung,spi-cs;
+ samsung,spi-feedback-delay = <2>;
};
};
};
--
2.20.1


2020-03-06 09:08:51

by Enric Balletbo i Serra

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mfd: cros-ec: Fix indentation in the example

Hi Jonathan,

On 5/3/20 23:36, Jonathan Neuschäfer wrote:
> Properties get one more level of indentation than the node they are in.
>
> Signed-off-by: Jonathan Neuschäfer <[email protected]>
> ---
> Documentation/devicetree/bindings/mfd/cros-ec.txt | 6 +++---

Thanks for sending the patch but the binding is in process to be converted to
json-schema right now [1], and this change will not be needed.

Thanks,
Enric

[1] https://patchwork.ozlabs.org/patch/1250141/

> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mfd/cros-ec.txt b/Documentation/devicetree/bindings/mfd/cros-ec.txt
> index 4860eabd0f72..3bf9d0868b98 100644
> --- a/Documentation/devicetree/bindings/mfd/cros-ec.txt
> +++ b/Documentation/devicetree/bindings/mfd/cros-ec.txt
> @@ -65,9 +65,9 @@ spi@131b0000 {
> wakeup-source;
> spi-max-frequency = <5000000>;
> controller-data {
> - cs-gpio = <&gpf0 3 4 3 0>;
> - samsung,spi-cs;
> - samsung,spi-feedback-delay = <2>;
> + cs-gpio = <&gpf0 3 4 3 0>;
> + samsung,spi-cs;
> + samsung,spi-feedback-delay = <2>;
> };
> };
> };
> --
> 2.20.1
>

2020-03-06 11:00:22

by J. Neuschäfer

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: mfd: cros-ec: Fix indentation in the example

On Fri, Mar 06, 2020 at 10:07:31AM +0100, Enric Balletbo i Serra wrote:
> Hi Jonathan,
>
> On 5/3/20 23:36, Jonathan Neuschäfer wrote:
> > Properties get one more level of indentation than the node they are in.
> >
> > Signed-off-by: Jonathan Neuschäfer <[email protected]>
> > ---
> > Documentation/devicetree/bindings/mfd/cros-ec.txt | 6 +++---
>
> Thanks for sending the patch but the binding is in process to be converted to
> json-schema right now [1], and this change will not be needed.

Alright!


Jonathan


Attachments:
(No filename) (542.00 B)
signature.asc (849.00 B)
Download all attachments