aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSam Protsenko <[email protected]>2024-06-20 18:13:36 -0500
committerHerbert Xu <[email protected]>2024-06-28 11:35:48 +1000
commit81da8056e92bd255178413d36382653ed5a1a230 (patch)
treecda0de08605f424ef8120c3b5284e01a637c557d /tools/perf/scripts/python/export-to-sqlite.py
parent76536caabedbeafb01d364690914c88ebadab5b3 (diff)
hwrng: exynos - Use devm_clk_get_enabled() to get the clock
Use devm_clk_get_enabled() helper instead of calling devm_clk_get() and then clk_prepare_enable(). It simplifies the error handling and makes the code more compact. Also use dev_err_probe() to handle possible -EPROBE_DEFER errors if the clock is not available yet. Signed-off-by: Sam Protsenko <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Anand Moon <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions