2019-07-24 10:10:02

by Charles Keepax

[permalink] [raw]
Subject: [PATCH] extcon: arizona: Update binding example to use available defines

Signed-off-by: Charles Keepax <[email protected]>
---
Documentation/devicetree/bindings/extcon/extcon-arizona.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
index 7f3d94ae81ffb..208daaff0be4f 100644
--- a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
+++ b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
@@ -72,5 +72,5 @@ codec: wm8280@0 {
1 2 1 /* MICDET2 MICBIAS2 GPIO=high */
>;

- wlf,gpsw = <0>;
+ wlf,gpsw = <ARIZONA_GPSW_OPEN>;
};
--
2.11.0


2019-07-24 12:26:02

by Chanwoo Choi

[permalink] [raw]
Subject: Re: [PATCH] extcon: arizona: Update binding example to use available defines

On 19. 7. 24. 오후 6:49, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <[email protected]>
> ---
> Documentation/devicetree/bindings/extcon/extcon-arizona.txt | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> index 7f3d94ae81ffb..208daaff0be4f 100644
> --- a/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> +++ b/Documentation/devicetree/bindings/extcon/extcon-arizona.txt
> @@ -72,5 +72,5 @@ codec: wm8280@0 {
> 1 2 1 /* MICDET2 MICBIAS2 GPIO=high */
> >;
>
> - wlf,gpsw = <0>;
> + wlf,gpsw = <ARIZONA_GPSW_OPEN>;
> };
>

Applied it. Thanks.

--
Best Regards,
Chanwoo Choi
Samsung Electronics