diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2021-03-30 19:49:45 +0200 |
---|---|---|
committer | Uwe Kleine-König <uwe@kleine-koenig.org> | 2021-10-28 12:04:37 +0200 |
commit | daf4e09e179ca82b7b72f7f3f2e0e90e838f54f4 (patch) | |
tree | d7597c99d649f8b46a6f2f46fc59cdadc10c173e | |
parent | 5434a2a2175e587fb237882c5346476971958bc5 (diff) | |
download | linux-pwm-wip.tar.gz linux-pwm-wip.tar.xz |
wippwm-wip
-rw-r--r-- | drivers/pwm/pwm-stm32.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pwm/pwm-stm32.c b/drivers/pwm/pwm-stm32.c index 794ca5b02968..2c923c46e46f 100644 --- a/drivers/pwm/pwm-stm32.c +++ b/drivers/pwm/pwm-stm32.c @@ -647,10 +647,6 @@ static int stm32_pwm_probe(struct platform_device *pdev) static int stm32_pwm_remove(struct platform_device *pdev) { struct stm32_pwm *priv = platform_get_drvdata(pdev); - unsigned int i; - - for (i = 0; i < priv->chip.npwm; i++) - pwm_disable(&priv->chip.pwms[i]); pwmchip_remove(&priv->chip); |