extcon: arizona: Update binding example to use available defines
diff mbox series

Message ID 20190724094914.19284-1-ckeepax@opensource.cirrus.com
State Not Applicable
Headers show
Series
  • extcon: arizona: Update binding example to use available defines
Related show

Checks

Context Check Description
robh/checkpatch warning "total: 0 errors, 1 warnings, 6 lines checked"

Commit Message

Charles Keepax July 24, 2019, 9:49 a.m. UTC
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
 Documentation/devicetree/bindings/extcon/extcon-arizona.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Chanwoo Choi July 24, 2019, 10:16 a.m. UTC | #1
On 19. 7. 24. 오후 6:49, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
> ---
>  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.

Patch
diff mbox series

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>;
 };