diff mbox series

dt-bindings: mfd: cros-ec: Fix indentation in the example

Message ID 20200305223631.27550-1-j.neuschaefer@gmx.net
State Superseded, archived
Headers show
Series dt-bindings: mfd: cros-ec: Fix indentation in the example | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

J. Neuschäfer March 5, 2020, 10:36 p.m. UTC
Properties get one more level of indentation than the node they are in.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
---
 Documentation/devicetree/bindings/mfd/cros-ec.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--
2.20.1

Comments

Enric Balletbo i Serra March 6, 2020, 9:07 a.m. UTC | #1
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 <j.neuschaefer@gmx.net>
> ---
>  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
>
J. Neuschäfer March 6, 2020, 10:58 a.m. UTC | #2
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 <j.neuschaefer@gmx.net>
> > ---
> >  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
diff mbox series

Patch

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>;
 		};
 	};
 };