thermal/drivers/acpi: Use hot and critical ops
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 10 Dec 2020 12:15:12 +0000 (13:15 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 7 Jan 2021 16:48:55 +0000 (17:48 +0100)
commita73cb2024caa3480263a009dce91fa581b3748bf
tree136789b259723ba2d17c4c8142b2192ddd368b1a
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62
thermal/drivers/acpi: Use hot and critical ops

The acpi driver wants to do a netlink notification in case of a hot or
critical trip point. Implement the corresponding ops to be used for
the thermal zone and use them instead of the notify ops.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20201210121514.25760-3-daniel.lezcano@linaro.org
drivers/acpi/thermal.c