diff options
| author | Krzysztof Kozlowski <[email protected]> | 2024-08-23 12:16:00 +0200 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2024-08-25 11:02:16 +0200 |
| commit | 610395de8496c34919f827dd194bf41af20c2bca (patch) | |
| tree | db9d550bbdf7b771b74fb0fd475403d50c3804d8 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 8f3cb397cbc1e3b18081738af87171f960bd112e (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/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions