diff options
author | 2023-07-18 19:55:45 +0200 | |
---|---|---|
committer | 2023-10-13 10:07:17 +0200 | |
commit | 6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20 (patch) | |
tree | b88e3aceb026c68db85fb261cb0dba6d38081cc8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | pwm: Drop pwm_[sg]et_chip_data() (diff) | |
download | wireguard-linux-6dbf23f5cfff789ee7c75a79709f06bcb3c6fc20.tar.xz wireguard-linux-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions