summaryrefslogtreecommitdiff
path: root/mm/init-mm.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-07-18 20:55:45 +0300
committerThierry Reding <thierry.reding@gmail.com>2023-10-13 11:07:17 +0300
commit6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20 (patch)
treeb88e3aceb026c68db85fb261cb0dba6d38081cc8 /mm/init-mm.c
parenta6e5654e0b8b53e2d0e316bc7cecb81dd8371f18 (diff)
downloadlinux-6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20.tar.xz
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/20230718175545.3946935-1-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'mm/init-mm.c')
0 files changed, 0 insertions, 0 deletions