commit | 84ea61f65d7016dd9a087ef40c4da09f0deaa648 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Wed Jul 07 18:27:55 2021 +0200 |
committer | Thierry Reding <thierry.reding@gmail.com> | Thu Sep 02 21:38:38 2021 +0200 |
tree | e1b253adad838113bd94a500d7e989558d6d969a | |
parent | 04d775210fb99609b1725ca33313da908a40d767 [diff] |
pwm: rockchip: Unprepare clocks only after the PWM was unregistered The driver is supposed to stay functional until pwmchip_remove() returns. So disable clocks only after that. pwmchip_remove() always returns 0, so the return code can be ignored which keeps rockchip_pwm_remove() a bit simpler and allows to eventually make pwmchip_remove() return void. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>