summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>2024-06-28 09:35:23 +0300
committerUwe Kleine-König <ukleinek@kernel.org>2024-07-10 18:53:52 +0300
commit14b9dc66e93abbd16b22ac9153f658de1acaaf49 (patch)
treeeecd5df51be223682f9fd58b325f6dfc131d4dfe /scripts/gdb/linux/tasks.py
parent0007fa1292a24ef23d662ec7afe178088ab7766d (diff)
downloadlinux-14b9dc66e93abbd16b22ac9153f658de1acaaf49.tar.xz
pwm: xilinx: Simplify using devm_ functions
There are devm variants for clk_prepare_enable() and pwmchip_add(); and clk_prepare_enable() can be done together with devm_clk_get(). This allows to simplify the error paths in .probe() and drop .remove() completely. With the remove callback gone, the last user of platform_get_drvdata() is gone and so the call to platform_set_drvdata() can be dropped, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Reviewed-by: Sean Anderson <sean.anderson@seco.com> Link: https://lore.kernel.org/r/20240628063524.92907-2-u.kleine-koenig@baylibre.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions