diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-03 10:50:05 +0800 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-02-22 15:20:43 +0100 |
commit | 9a9dd7e473517b68412fd2da3da8a4aeb4ecb38a (patch) | |
tree | 789cd6003ffa0e529fc5119f968ff6542d21a7f0 /drivers/pwm/pwm-lpc18xx-sct.c | |
parent | 28208c7b4a2c38ea91b6ee04f6023d3145257f5d (diff) | |
download | linux-9a9dd7e473517b68412fd2da3da8a4aeb4ecb38a.tar.bz2 |
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 <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>
Diffstat (limited to 'drivers/pwm/pwm-lpc18xx-sct.c')
-rw-r--r-- | drivers/pwm/pwm-lpc18xx-sct.c | 2 |
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; |