thermal: core: Add thermal zone enable/disable notification
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 27 Jul 2020 23:10:33 +0000 (01:10 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 29 Jul 2020 08:21:48 +0000 (10:21 +0200)
commit25be77e588a63b064e8d9c1b59975e6882abc2f9
tree3539669f4fa5606a1ef06880c64b241f3f9c5280
parent332bc8ebab2c0d00e80dd23377ec23ad3de83214
thermal: core: Add thermal zone enable/disable notification

Now the calls to enable/disable a thermal zone are centralized in a
call to a function, we can add in these the corresponding netlink
notifications.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Link: https://lore.kernel.org/r/20200727231033.26512-1-daniel.lezcano@linaro.org
drivers/thermal/thermal_core.c