2019-03-28 20:38:39

by Sebastien Bourdelin

[permalink] [raw]
Subject: [PATCH 1/1] dt-bindings: power: supply: add missing semi-colon in example

Fix the example documentation which is missing a semi-colon.

Signed-off-by: Sebastien Bourdelin <[email protected]>
---
Documentation/devicetree/bindings/power/supply/gpio-charger.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/power/supply/gpio-charger.txt b/Documentation/devicetree/bindings/power/supply/gpio-charger.txt
index adbb5dc5b6e9..ddf7b7b971e1 100644
--- a/Documentation/devicetree/bindings/power/supply/gpio-charger.txt
+++ b/Documentation/devicetree/bindings/power/supply/gpio-charger.txt
@@ -20,7 +20,7 @@ Example:
compatible = "gpio-charger";
charger-type = "usb-sdp";
gpios = <&gpf0 2 0 0 0>;
- }
+ };

battery {
power-supplies = <&usb_charger>;
--
2.20.1



2019-04-05 14:55:17

by Sebastian Reichel

[permalink] [raw]
Subject: Re: [PATCH 1/1] dt-bindings: power: supply: add missing semi-colon in example

Hi,

On Thu, Mar 28, 2019 at 04:35:18PM -0400, Sebastien Bourdelin wrote:
> Fix the example documentation which is missing a semi-colon.
>
> Signed-off-by: Sebastien Bourdelin <[email protected]>
> ---
> Documentation/devicetree/bindings/power/supply/gpio-charger.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/power/supply/gpio-charger.txt b/Documentation/devicetree/bindings/power/supply/gpio-charger.txt
> index adbb5dc5b6e9..ddf7b7b971e1 100644
> --- a/Documentation/devicetree/bindings/power/supply/gpio-charger.txt
> +++ b/Documentation/devicetree/bindings/power/supply/gpio-charger.txt
> @@ -20,7 +20,7 @@ Example:
> compatible = "gpio-charger";
> charger-type = "usb-sdp";
> gpios = <&gpf0 2 0 0 0>;
> - }
> + };
>
> battery {
> power-supplies = <&usb_charger>;
> --
> 2.20.1
>

Thanks, queued.

-- Sebastian


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