thermal: Store thermal mode in a dedicated enum
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Mon, 29 Jun 2020 12:29:16 +0000 (14:29 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 29 Jun 2020 18:26:33 +0000 (20:26 +0200)
commit1595d887afe46b0ad721f27df895a61d4879ede2
tree38480aa594e936d8e72bd447a35c645cbee45ee9
parent172066cc314f104e708f700903739845d343ea39
thermal: Store thermal mode in a dedicated enum

Prepare for storing mode in struct thermal_zone_device.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
[for acerhdf]
Acked-by: Peter Kaestle <peter@piie.net>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200629122925.21729-3-andrzej.p@collabora.com
drivers/acpi/thermal.c
drivers/platform/x86/acerhdf.c
drivers/thermal/intel/int340x_thermal/int3400_thermal.c