pwm: lpc18xx-sct: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 3 Feb 2021 02:50:05 +0000 (10:50 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 22 Feb 2021 14:20:43 +0000 (15:20 +0100)
Eliminate the following coccicheck warning:
./drivers/pwm/pwm-lpc18xx-sct.c:292:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpc18xx-sct.c

index dc5133b..7ef4024 100644 (file)
@@ -289,7 +289,7 @@ static int lpc18xx_pwm_request(struct pwm_chip *chip, struct pwm_device *pwm)
                dev_err(lpc18xx_pwm->dev,
                        "maximum number of simultaneous channels reached\n");
                return -EBUSY;
-       };
+       }
 
        set_bit(event, &lpc18xx_pwm->event_map);
        lpc18xx_data->duty_event = event;