diff options
| author | Uwe Kleine-König <[email protected]> | 2021-07-07 18:27:56 +0200 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2021-09-02 21:38:38 +0200 |
| commit | 1a0c97b6460f30d8b164eaef07d77369e466dda3 (patch) | |
| tree | 3a4a9ddca603c8e78a8c6981e0c6bf428ac0a311 /tools/perf/scripts/python/bin | |
| parent | 84ea61f65d7016dd9a087ef40c4da09f0deaa648 (diff) | |
pwm: tiehrpwm: Unprepare clock 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 ehrpwm_pwm_remove() a bit simpler and eventually allows to
make pwmchip_remove() return void.
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions