diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-03-24 20:56:35 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-04-09 14:31:08 +0200 |
commit | 89c6f314602efeecfe8d9093571b3bbfe1029ab5 (patch) | |
tree | 6e2760b6fac06c3fb463cb41fc74c984626742f3 /drivers/pwm/pwm-bcm-iproc.c | |
parent | 1a7a6e8072ea0e4582de2da63a9088841fde798e (diff) | |
download | linux-89c6f314602efeecfe8d9093571b3bbfe1029ab5.tar.bz2 |
pwm: atmel: Free resources only after pwmchip_remove()
Before pwmchip_remove() returns the PWM is expected to be functional. So
remove the pwmchip before disabling the clock.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-bcm-iproc.c')
0 files changed, 0 insertions, 0 deletions