projects/linux·commit 9a9dd7e4

pwm: lpc18xx-sct: remove unneeded semicolon

9a9dd7e4 · Yang Li <[email protected]> · 2021-02-03 10:50:05 +08:00

Eliminate the following coccicheck warning:
./drivers/pwm/pwm-lpc18xx-sct.c:292:2-3: Unneeded semicolon

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Acked-by: Vladimir Zapolskiy <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Commit
9a9dd7e473517b68412fd2da3da8a4aeb4ecb38a
Parents
28208c7b

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/pwm/pwm-lpc18xx-sct.cmodified+1−1View file

drivers/pwm/pwm-lpc18xx-sct.c

View file
diff --git a/drivers/pwm/pwm-lpc18xx-sct.c b/drivers/pwm/pwm-lpc18xx-sct.c
index dc5133b..7ef4024 100644
--- a/drivers/pwm/pwm-lpc18xx-sct.c
+++ b/drivers/pwm/pwm-lpc18xx-sct.c
@@ -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;