aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-12-31 13:57:49 +0100
committerWim Van Sebroeck <[email protected]>2023-02-12 15:32:48 +0100
commit4de0224c6fbebfa4018a640ec34e5c160dffb959 (patch)
tree2ed63d35365d7c46b1be5c50bed9b1554999f816 /tools/perf/scripts/python/mem-phys-addr.py
parent5eb3fb95eab28a6dbcd2eab6898e03af6658ee0e (diff)
watchdog: of_xilinx_wdt: 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]> Acked-by: Michal Simek <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/2b041dc8230a4ed255051bb2d323da8a51a8d0be.1672491445.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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions