Skip to contentSkip to conversation

extcon: arizona: Remove unneeded semi-colon

PATCH In review Charles Keepax 2 participants 2 messages Jul 19, 2016 – Jul 20, 2016 External connector subsystem (extcon)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 extcon: arizona: Remove unneeded semi-colon

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

---
 drivers/extcon/extcon-arizona.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-arizona.c +1 -1
index 1d8e0a5..be4d93d 100644
@@ -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);
 
Signature · 1 line
2.1.4
maintainer
#1 lore raw

Hi Charles,

Quoted 14 lines · Charles Keepax

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

---
 drivers/extcon/extcon-arizona.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/extcon/extcon-arizona.c +0 -0
index 1d8e0a5..be4d93d 100644

drivers/extcon/extcon-arizona.c static void arizona_extcon_hp_clamp(struct arizona_extcon_info *info, · line 189

Quoted 8 lines
drivers/extcon/extcon-arizona.c +1 -1
@@ -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