pwm: lpc18xx-sct: remove unneeded semicolon
Subsystems (2)
PATCH 1/1 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]>
--- drivers/pwm/pwm-lpc18xx-sct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pwm/pwm-lpc18xx-sct.c +1 -1
@@ -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;
Signature · 1 line
1.8.3.1
Quoted 5 lines · Yang Li
Eliminate the following coccicheck warning:
./drivers/pwm/pwm-lpc18xx-sct.c:292:2-3: Unneeded semicolonReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>
Acked-by Uwe Kleine-König <[email protected]>
But this is prior art:
https://lore.kernel.org/r/20210128134537.GA54687@068c7b848bbb
This patch is better though as it doesn't have a bogus Fixes: line.
*shrug*, I let Thierry decide which one to pick up.
Best regards
Uwe
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | https://www.pengutronix.de/ |
Quoted 6 lines · Yang Li
Eliminate the following coccicheck warning:
./drivers/pwm/pwm-lpc18xx-sct.c:292:2-3: Unneeded semicolonReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>---
--
Best wishes,
Vladimir