ASoC: codecs: Remove unneeded semicolon
Subsystems (3)
PATCH 1/1 ASoC: codecs: Remove unneeded semicolon
In the wcd939x codec driver, there are two instances where semicolons are used after closing braces of a switch-case statement. These semicolons are not required and do not adhere to the coding style guidelines.
This patch removes the unnecessary semicolons at the end of the switch-case statements which cleans up the code and ensures consistency with the rest of the kernel coding style.
--- sound/soc/codecs/wcd939x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/wcd939x.c +2 -2
@@ -970,7 +970,7 @@ static int wcd939x_codec_enable_dmic(struct snd_soc_dapm_widget *w,default :dev_err (component->dev,"%s: Invalid DMIC Selection\n" , __func__);return -EINVAL ; - }; + }switch (event) {case SND_SOC_DAPM_PRE_PMU :
@@ -1292,7 +1292,7 @@ static int wcd939x_micbias_control(struct snd_soc_component *component,dev_err (component->dev,"%s: Invalid micbias number: %d\n" , __func__, micb_num);return -EINVAL ; - }; + }switch (req) {case MICB_PULLUP_ENABLE :
Signature · 1 line
2.20.1.7.g153144c
Mark Brown
maintainerQuoted 10 lines · Yang Li
In the wcd939x codec driver, there are two instances where semicolons are used after closing braces of a switch-case statement. These semicolons are not required and do not adhere to the coding style guidelines.
This patch removes the unnecessary semicolons at the end of the switch-case statements which cleans up the code and ensures consistency with the rest of the kernel coding style.
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: codecs: Remove unneeded semicolon
commit: e7214441ca1562fbfb002200f46d7f83bbc2e621
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark