diff options
| author | Daniel Lezcano <daniel.lezcano@oss.qualcomm.com> | 2026-04-24 19:00:18 +0300 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-05-26 14:24:17 +0300 |
| commit | 4ab6e05dc2f2b4ea3d8ffc0e0edfb8a5bcd2957f (patch) | |
| tree | e4333c2bac0acc8476d4325d869b3189b921209d /include/linux | |
| parent | ba8a4e072a3a6b9affdb3d231975f3a42252a6fa (diff) | |
| download | linux-4ab6e05dc2f2b4ea3d8ffc0e0edfb8a5bcd2957f.tar.xz | |
thermal/drivers/tegra/soctherm: Use devm_add_action_or_reset() for clock disable
Replace the manual error handling paths disabling the clocks with
devm_add_action_or_reset(). This ensures the clocks are properly
disabled on probe failure and driver removal, while simplifying the
code by removing the explicit error paths.
Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20260424160019.41710-1-daniel.lezcano@oss.qualcomm.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
