aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>2020-06-29 14:29:24 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2020-06-29 20:26:39 +0200
commit5d7bd8aa7c35873f448d60ffbd996cfa151d2a11 (patch)
tree8ac238d6c8de5a562a8f3fefedb7991dc79d2ddb /include/linux/thermal.h
parentthermal: core: Stop polling DISABLED thermal devices (diff)
downloadlinux-dev-5d7bd8aa7c35873f448d60ffbd996cfa151d2a11.tar.xz
linux-dev-5d7bd8aa7c35873f448d60ffbd996cfa151d2a11.zip
thermal: Simplify or eliminate unnecessary set_mode() methods
Setting polling_delay is now done at thermal_core level (by not polling DISABLED devices), so no need to repeat this code. int340x: Checking for an impossible enum value is unnecessary. acpi/thermal: It only prints debug messages. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com> [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-11-andrzej.p@collabora.com
Diffstat (limited to 'include/linux/thermal.h')
0 files changed, 0 insertions, 0 deletions