aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Li <[email protected]>2021-02-03 02:50:05 +0000
committerThierry Reding <[email protected]>2021-02-22 14:20:43 +0000
commit9a9dd7e473517b68412fd2da3da8a4aeb4ecb38a (patch)
tree789cd6003ffa0e529fc5119f968ff6542d21a7f0
parentpwm: iqs620a: Correct a stale state variable (diff)
downloadkernel-9a9dd7e473517b68412fd2da3da8a4aeb4ecb38a.tar.gz
kernel-9a9dd7e473517b68412fd2da3da8a4aeb4ecb38a.zip
pwm: lpc18xx-sct: remove unneeded semicolon
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]>
-rw-r--r--drivers/pwm/pwm-lpc18xx-sct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pwm/pwm-lpc18xx-sct.c b/drivers/pwm/pwm-lpc18xx-sct.c
index dc5133bec3e7..7ef40243eb6c 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;