aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-06-28 08:35:23 +0200
committerUwe Kleine-König <[email protected]>2024-07-10 17:53:52 +0200
commit14b9dc66e93abbd16b22ac9153f658de1acaaf49 (patch)
treeeecd5df51be223682f9fd58b325f6dfc131d4dfe /scripts/gdb/linux/lists.py
parent0007fa1292a24ef23d662ec7afe178088ab7766d (diff)
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 <[email protected]> Reviewed-by: Sean Anderson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions