diff options
| author | Daniel Lezcano <daniel.lezcano@oss.qualcomm.com> | 2026-04-29 19:14:14 +0300 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-05-26 14:24:29 +0300 |
| commit | 31da1d4451c88b63779bc3f855ae15f718c0e539 (patch) | |
| tree | d18e038943f69638c3d6692773fc2fdd3788c3e3 /include/linux | |
| parent | ee126267bc04bfb03816ae9d71ca24c5bf99e739 (diff) | |
| download | linux-31da1d4451c88b63779bc3f855ae15f718c0e539.tar.xz | |
thermal/core: Use devm_add_action_or_reset() when registering a cooling device
Use devm_add_action_or_reset() which does the replaced code. It
results in a simpler and more concise code.
Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Link: https://patch.msgid.link/20260429161430.3802970-2-daniel.lezcano@oss.qualcomm.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
