aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-12-31 15:20:29 +0100
committerWim Van Sebroeck <[email protected]>2023-02-12 15:32:47 +0100
commite0912ea8714deb598c7763ec60c9ba83b157acf7 (patch)
tree4af87bba0c4d9cfdf6beec5d30cde01ac2e2a52b /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent7f7f8ad0725cf31af68aaccccee6d24b8c886679 (diff)
watchdog: pic32-dmt: Use devm_clk_get_enabled() helper
The devm_clk_get_enabled() helper: - calls devm_clk_get() - calls clk_prepare_enable() and registers what is needed in order to call clk_disable_unprepare() when needed, as a managed resource. This simplifies the code and avoids the need of a dedicated function used with devm_add_action_or_reset(). Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/f9a4dcfc6d31bd9c1417e2d97a40cc2c1dbc6f30.1672496405.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions