diff mbox series

[V2,RESEND] gpio: of: make example syntactically correct

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

Commit Message

Wolfram Sang Jan. 21, 2018, 12:12 p.m. UTC
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>
---

No changes since V2, only Niklas' tag added.

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

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

Comments

Geert Uytterhoeven Sept. 5, 2018, 11:27 a.m. UTC | #1
CC LinusW

On Sun, Jan 21, 2018 at 1:12 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> 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>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

> ---
>
> No changes since V2, only Niklas' tag added.
>
> 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 b5de08e3b1a2f1..91d33f75dd0e4d 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>;
>         };
>         [...]
>

Gr{oetje,eeting}s,

                        Geert
Linus Walleij Sept. 10, 2018, 7:51 a.m. UTC | #2
On Sun, Jan 21, 2018 at 1:12 PM Wolfram Sang
<wsa+renesas@sang-engineering.com> 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>
> ---
>
> No changes since V2, only Niklas' tag added.

Patch applied with Geert's ACK.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
index b5de08e3b1a2f1..91d33f75dd0e4d 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>;
 	};
 	[...]