thermal/core: Prepare for introduction of thermal reboot
authorFabio Estevam <festevam@denx.de>
Wed, 29 Nov 2023 12:43:28 +0000 (09:43 -0300)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 2 Jan 2024 08:33:18 +0000 (09:33 +0100)
commit5a0e241003b80247de59727c945bc94c848f893d
treeecb2477225fcd0b6933960a01b9426801ab5adf0
parent87f67d1747bc3ce8ace14be99b47d7731041ff03
thermal/core: Prepare for introduction of thermal reboot

Add some helper functions to make it easier introducing the support
for thermal reboot.

No functional change.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20231129124330.519423-2-festevam@gmail.com
drivers/thermal/thermal_core.c
include/linux/reboot.h
kernel/reboot.c