diff mbox series

gpio: of: make example syntactically correct

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

Commit Message

Wolfram Sang Dec. 22, 2017, 8:08 p.m. UTC
The ';' was missing.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
 Documentation/devicetree/bindings/gpio/gpio.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Sergei Shtylyov Dec. 23, 2017, 10:06 a.m. UTC | #1
Hello!

On 12/22/2017 11:08 PM, Wolfram Sang wrote:

> The ';' was missing.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>   Documentation/devicetree/bindings/gpio/gpio.txt | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt
> index 802402f6cc5d89..53e0a0e01a4ee0 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio.txt
> +++ b/Documentation/devicetree/bindings/gpio/gpio.txt
> @@ -33,11 +33,11 @@ The following example could be used to describe GPIO pins used as device enable
>   and bit-banged data signals:
>   
>   	gpio1: gpio1 {
> -		gpio-controller
> +		gpio-controller;
>   		 #gpio-cells = <2>;

    Could as well remove extra space on this line...

>   	};
>   	gpio2: gpio2 {
> -		gpio-controller
> +		gpio-controller;
>   		 #gpio-cells = <1>;

    ... and this.

[...]

MBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

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