diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-06-21 15:04:58 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-06-30 19:12:20 +0200 |
commit | 868f13bdea3304362dd882f216ba30a8bf4c10c8 (patch) | |
tree | af1441ba5045510fb1464d7a9bd3cc68c80fa754 /drivers/bcma | |
parent | pwm: vt8500: Drop if with an always false condition (diff) | |
download | linux-868f13bdea3304362dd882f216ba30a8bf4c10c8.tar.xz linux-868f13bdea3304362dd882f216ba30a8bf4c10c8.zip |
pwm: vt8500: Only unprepare the clock after the pwmchip was removed
Until pwmchip_remove() returns the PWM is supposed to work, so
pwmchip_remove() must be called before the clock is stopped.
The return value of pwmchip_remove doesn't need to be checked because
it returns zero anyhow and I plan to make it return void soon.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions