public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] extcon: arizona: Remove unneeded semi-colon
@ 2016-07-19 12:23 ` Charles Keepax
  2016-07-20  1:29   ` Chanwoo Choi
  0 siblings, 1 reply; 2+ messages in thread
From: Charles Keepax @ 2016-07-19 12:23 UTC (permalink / raw)
  To: cw00.choi; +Cc: myungjoo.ham, linux-kernel, patches

There is no need for a semi-colon at the end of a switch statement so
remove it.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
---
 drivers/extcon/extcon-arizona.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
index 1d8e0a5..be4d93d 100644
--- a/drivers/extcon/extcon-arizona.c
+++ b/drivers/extcon/extcon-arizona.c
@@ -183,7 +183,7 @@ static void arizona_extcon_hp_clamp(struct arizona_extcon_info *info,
 		if (clamp)
 			val = ARIZONA_RMV_SHRT_HP1L;
 		break;
-	};
+	}
 
 	snd_soc_dapm_mutex_lock(arizona->dapm);
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] extcon: arizona: Remove unneeded semi-colon
  2016-07-19 12:23 ` [PATCH] extcon: arizona: Remove unneeded semi-colon Charles Keepax
@ 2016-07-20  1:29   ` Chanwoo Choi
  0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2016-07-20  1:29 UTC (permalink / raw)
  To: Charles Keepax; +Cc: myungjoo.ham, linux-kernel, patches

Hi Charles,

On 2016년 07월 19일 21:23, Charles Keepax wrote:
> There is no need for a semi-colon at the end of a switch statement so
> remove it.
> 
> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
> ---
>  drivers/extcon/extcon-arizona.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c
> index 1d8e0a5..be4d93d 100644
> --- a/drivers/extcon/extcon-arizona.c
> +++ b/drivers/extcon/extcon-arizona.c
> @@ -183,7 +183,7 @@ static void arizona_extcon_hp_clamp(struct arizona_extcon_info *info,
>  		if (clamp)
>  			val = ARIZONA_RMV_SHRT_HP1L;
>  		break;
> -	};
> +	}
>  
>  	snd_soc_dapm_mutex_lock(arizona->dapm);
>  
> 

Applied it.

Thanks,
Chanwoo Choi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-20  1:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20160719122350epcas1p250da1dbe4d9fc254b727b562034a825a@epcas1p2.samsung.com>
2016-07-19 12:23 ` [PATCH] extcon: arizona: Remove unneeded semi-colon Charles Keepax
2016-07-20  1:29   ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox