diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-07-12 15:37:33 -0700 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2026-07-18 11:58:16 +0900 |
| commit | 427ac6f5ff7607da32862f2918ca6e4bd32252f0 (patch) | |
| tree | 21484d7772082f397468ac8aab4742f003de2461 /tools/perf/scripts/python | |
| parent | 692a9643058cb2be676756238f778b97588ee51c (diff) | |
ata: sata_mv: use devm clock helpers
Replace clk_get/clk_prepare_enable/clk_put with
devm_clk_get_optional_enabled for both the main clock and
per-port clocks. This eliminates the need for manual clock
cleanup in probe error and remove paths.
The err label is retained for phy_power_off cleanup, since
devm_phy_optional_get does not manage phy power state.
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
