acpi: thermal: Don't call thermal_zone_device_is_enabled()
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Fri, 3 Jul 2020 10:43:52 +0000 (12:43 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 6 Jul 2020 23:26:06 +0000 (01:26 +0200)
commit7a7d66f26b0ff47e7edbc9df884ad711ed918992
treebafdade0ed6b37baae0b50195a639ca06229543b
parentf5e50bf4d3ef0aba4d5414c9ed51fa4a02e2ed12
acpi: thermal: Don't call thermal_zone_device_is_enabled()

thermal_zone_device_update() can now handle disabled thermal zones, so
the check here is not needed.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200703104354.19657-2-andrzej.p@collabora.com
drivers/acpi/thermal.c