]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: codecs: Fix the error of excessive semicolons
authorTang Bin <tangbin@cmss.chinamobile.com>
Tue, 30 Sep 2025 09:41:03 +0000 (17:41 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Oct 2025 10:27:07 +0000 (11:27 +0100)
Remove unnecessary semicolons in the function
pm4125_codec_enable_adc and pm4125_micbias_control.

Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20250930094103.2038-1-tangbin@cmss.chinamobile.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pm4125.c

index 706fc668ffe2a36474e96ffaad621ea6a0b62621..aa8319c4a58a4468c2c29c2c73cbe39f072a1d81 100644 (file)
@@ -691,7 +691,7 @@ static int pm4125_codec_enable_adc(struct snd_soc_dapm_widget *w,
                                                      0x00);
                pm4125_global_mbias_disable(component);
                break;
-       };
+       }
 
        return 0;
 }
@@ -756,7 +756,7 @@ static int pm4125_micbias_control(struct snd_soc_component *component, int micb_
                dev_err(component->dev, "%s: Invalid micbias number: %d\n",
                        __func__, micb_num);
                return -EINVAL;
-       };
+       }
 
        switch (req) {
        case MICB_PULLUP_ENABLE:
@@ -799,7 +799,7 @@ static int pm4125_micbias_control(struct snd_soc_component *component, int micb_
                        pm4125_global_mbias_disable(component);
                }
                break;
-       };
+       }
 
        return 0;
 }