ASoC: codecs: Remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 13 Feb 2023 01:05:47 +0000 (09:05 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Feb 2023 12:45:27 +0000 (12:45 +0000)
./sound/soc/codecs/peb2466.c:1851:2-3: Unneeded semicolon
./sound/soc/codecs/peb2466.c:1887:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4045
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Herve Codina <herve.codina@bootlin.com>
Link: https://lore.kernel.org/r/20230213010547.105312-1-yang.lee@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/peb2466.c

index 4640b18..5dec69b 100644 (file)
@@ -1848,7 +1848,7 @@ static int peb2466_chip_direction_input(struct gpio_chip *c, unsigned int offset
        if (offset < 16) {
                /* SOx_{0,1} */
                return -EINVAL;
-       };
+       }
 
        ret = peb2466_chip_gpio_offset_to_dir_regmask(offset, &xr_reg, &mask);
        if (ret) {
@@ -1884,7 +1884,7 @@ static int peb2466_chip_direction_output(struct gpio_chip *c, unsigned int offse
        if (offset < 16) {
                /* SOx_{0,1} */
                return 0;
-       };
+       }
 
        ret = peb2466_chip_gpio_offset_to_dir_regmask(offset, &xr_reg, &mask);
        if (ret) {