diff options
| author | Uwe Kleine-König <[email protected]> | 2023-07-18 17:55:45 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2023-10-13 08:07:17 +0000 |
| commit | 6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20 (patch) | |
| tree | b88e3aceb026c68db85fb261cb0dba6d38081cc8 /drivers/pwm/pwm-dwc-core.c | |
| parent | pwm: Drop pwm_[sg]et_chip_data() (diff) | |
| download | kernel-6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20.tar.gz kernel-6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20.zip | |
pwm: berlin: Simplify using devm functions
With devm_clk_get_enabled() the call to clk_disable_unprepare() can be
dropped from the error path and the remove callback. With
devm_pwmchip_add() pwmchip_remove() can be dropped. Then the remove
callback is empty and can go away, too.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-dwc-core.c')
0 files changed, 0 insertions, 0 deletions
