]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
thermal/core: Fix missing stub for devm_thermal_cooling_device_register
authorDaniel Lezcano <daniel.lezcano@kernel.org>
Mon, 1 Jun 2026 09:01:53 +0000 (11:01 +0200)
committerDaniel Lezcano <daniel.lezcano@kernel.org>
Wed, 3 Jun 2026 07:13:00 +0000 (09:13 +0200)
commit995b736ad46a80af84e58596c5e23ce94035bddf
treeb9ae684a6c38508651f8c82c64c3b3b84060aedc
parent6d0c207c0a95bc4832fe0189973f64734ef5bfc0
thermal/core: Fix missing stub for devm_thermal_cooling_device_register

Even it is very unlikely the thermal framework is disabled, the newly
added devm_thermal_cooling_device_register() function has not the stub
when the thermal framework is optout in the kernel.

Add it.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605301554.S9n45bfQ-lkp@intel.com/
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Acked-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
Link: https://patch.msgid.link/20260601090152.1243983-2-daniel.lezcano@kernel.org
include/linux/thermal.h