summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-09-29 19:19:08 +0300
committerThierry Reding <thierry.reding@gmail.com>2023-10-13 11:07:18 +0300
commitb498c14efd4241d79999b9bb943e963eb982450c (patch)
tree421634377a9f7fa1f4aff86eaa46e2009545c85f /tools/perf/scripts/python/export-to-postgresql.py
parent8151b37b418310c83f133a9ea8ec2a654fb30d20 (diff)
downloadlinux-b498c14efd4241d79999b9bb943e963eb982450c.tar.xz
pwm: bcm-iproc: 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. Also use dev_err_probe() for simplified (and improved) error reporting. Link: https://lore.kernel.org/r/20230929161918.2410424-2-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