diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-08-09 17:15:55 +0300 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-12 13:32:10 +0300 |
| commit | f6ae541cc3355fe872d4c942dc47d67877951d17 (patch) | |
| tree | 54b966265e703976a46da699f8bb813feaca72fd /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 8c38617722bdf57a90e6c77ed9ee5ebb60958d2a (diff) | |
| download | linux-f6ae541cc3355fe872d4c942dc47d67877951d17.tar.xz | |
memory: ti-aemif: use devm_clk_get_enabled() and shrink the code
Remove several lines of code and a jump label by using the managed
variant of clk_get() that also prepares and enables the clock (and
disables and unprepares it on driver detach).
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20240809-ti-aemif-v1-2-27b1e5001390@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
