diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-07-18 19:55:45 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-10-13 10:07:17 +0200 |
commit | 6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20 (patch) | |
tree | b88e3aceb026c68db85fb261cb0dba6d38081cc8 /crypto/crypto_user_stat.c | |
parent | a6e5654e0b8b53e2d0e316bc7cecb81dd8371f18 (diff) | |
download | linux-stable-6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20.tar.gz linux-stable-6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20.tar.bz2 linux-stable-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/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 'crypto/crypto_user_stat.c')
0 files changed, 0 insertions, 0 deletions