summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@oss.qualcomm.com>2026-04-29 19:14:14 +0300
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-05-26 14:24:29 +0300
commit31da1d4451c88b63779bc3f855ae15f718c0e539 (patch)
treed18e038943f69638c3d6692773fc2fdd3788c3e3 /include/linux
parentee126267bc04bfb03816ae9d71ca24c5bf99e739 (diff)
downloadlinux-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