diff options
author | Yuanjun Gong <[email protected]> | 2023-07-20 22:08:34 +0800 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-07-21 20:06:34 -0700 |
commit | 489d7a8cc286f37f52156100b95751b10e240941 (patch) | |
tree | c0892e1a4dc5f865daca14934fddd16fd28cd08c /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | de3acb7af908ef4fa9fda19cdfce1cc30cb48388 (diff) |
soc: qcom: use devm_clk_get_enabled() in gsbi_probe()
in gsbi_probe(), the return value of function clk_prepare_enable()
should be checked, since it may fail. using devm_clk_get_enabled()
instead of devm_clk_get() and clk_prepare_enable() can avoid this
problem.
Signed-off-by: Yuanjun Gong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[bjorn: Dropped unnecessary "ret" variable]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions