diff mbox series

[V2] gpio: of: make example syntactically correct

Message ID 20171223200641.3709-1-wsa+renesas@sang-engineering.com
State New
Headers show
Series [V2] gpio: of: make example syntactically correct | expand

Commit Message

Wolfram Sang Dec. 23, 2017, 8:06 p.m. UTC
The ';' was missing. And cosmetic: there was a space too much.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

Changes since V1:
* removed extra spaces (Thanks Sergei!)

 Documentation/devicetree/bindings/gpio/gpio.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Niklas Söderlund Dec. 27, 2017, 7:48 a.m. UTC | #1
Hi Wolfram,

Thanks for your patch.

On 2017-12-23 21:06:41 +0100, Wolfram Sang wrote:
> The ';' was missing. And cosmetic: there was a space too much.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>

Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>

> ---
> 
> Changes since V1:
> * removed extra spaces (Thanks Sergei!)
> 
>  Documentation/devicetree/bindings/gpio/gpio.txt | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
> index 802402f6cc5d89..bc5fe95d33fff0 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio.txt
> +++ b/Documentation/devicetree/bindings/gpio/gpio.txt
> @@ -33,12 +33,12 @@ The following example could be used to describe GPIO pins used as device enable
>  and bit-banged data signals:
>  
>  	gpio1: gpio1 {
> -		gpio-controller
> -		 #gpio-cells = <2>;
> +		gpio-controller;
> +		#gpio-cells = <2>;
>  	};
>  	gpio2: gpio2 {
> -		gpio-controller
> -		 #gpio-cells = <1>;
> +		gpio-controller;
> +		#gpio-cells = <1>;
>  	};
>  	[...]
>  
> -- 
> 2.11.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
index 802402f6cc5d89..bc5fe95d33fff0 100644
--- a/Documentation/devicetree/bindings/gpio/gpio.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio.txt
@@ -33,12 +33,12 @@  The following example could be used to describe GPIO pins used as device enable
 and bit-banged data signals:
 
 	gpio1: gpio1 {
-		gpio-controller
-		 #gpio-cells = <2>;
+		gpio-controller;
+		#gpio-cells = <2>;
 	};
 	gpio2: gpio2 {
-		gpio-controller
-		 #gpio-cells = <1>;
+		gpio-controller;
+		#gpio-cells = <1>;
 	};
 	[...]