diff options
author | Kang Chen <[email protected]> | 2023-04-19 10:07:49 +0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2023-04-26 10:38:34 +0200 |
commit | a3e9a9a5971164933e0d247125897c2e54587c6b (patch) | |
tree | e0a27f80b6cc3f80535dd3b7c485b6d27e1d374a /lib/mpi/mpi-mod.c | |
parent | f05c7b7d9ea9477fcc388476c6f4ade8c66d2d26 (diff) |
thermal/drivers/mediatek: Change clk_prepare_enable to devm_clk_get_enabled in mtk_thermal_probe
Use devm_clk_get_enabled to do automatic resource management.
Meanwhile, remove error handling labels in the probe function and
the whole remove function.
Signed-off-by: Kang Chen <[email protected]>
Reviewed-by: Dongliang Mu <[email protected]>
Signed-off-by: Daniel Lezcano <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions