Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446382 > unrolled thread

[PATCH] extcon: arizona: Remove unneeded semi-colon

Started byCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
First post2016-07-19 14:30 +0200
Last post2016-07-20 03:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] extcon: arizona: Remove unneeded semi-colon Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-07-19 14:30 +0200
    Re: [PATCH] extcon: arizona: Remove unneeded semi-colon Chanwoo Choi <cw00.choi@samsung.com> - 2016-07-20 03:30 +0200

#1446382 — [PATCH] extcon: arizona: Remove unneeded semi-colon

FromCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Date2016-07-19 14:30 +0200
Subject[PATCH] extcon: arizona: Remove unneeded semi-colon
Message-ID<rWCjU-3Wt-15@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1446872

FromChanwoo Choi <cw00.choi@samsung.com>
Date2016-07-20 03:30 +0200
Message-ID<rWOuK-38Z-11@gated-at.bofh.it>
In reply to#1446382
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web