aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-dwc-core.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2023-07-18 19:55:45 +0200
committerThierry Reding <[email protected]>2023-10-13 10:07:17 +0200
commit6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20 (patch)
treeb88e3aceb026c68db85fb261cb0dba6d38081cc8 /drivers/pwm/pwm-dwc-core.c
parenta6e5654e0b8b53e2d0e316bc7cecb81dd8371f18 (diff)
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