aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-08-23 12:16:00 +0200
committerKrzysztof Kozlowski <[email protected]>2024-08-25 11:02:16 +0200
commit610395de8496c34919f827dd194bf41af20c2bca (patch)
treedb9d550bbdf7b771b74fb0fd475403d50c3804d8 /tools/perf/util/scripting-engines/trace-event-python.c
parent8f3cb397cbc1e3b18081738af87171f960bd112e (diff)
memory: pl172: simplify with devm_clk_get_enabled()
Use devm_clk_get_enabled() to drop clock prepare/unprepare parts and make code simpler. Change to dev_err_probe() in handling clk_get_rate() error to make it even simpler. Reviewed-by: Jonathan Cameron <[email protected]> Reviewed-by: Vladimir Zapolskiy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions