thermal: of: implement .set_trips for device tree thermal zones
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 22 Jun 2016 08:42:02 +0000 (16:42 +0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 06:02:16 +0000 (14:02 +0800)
commit826386e73193e0b58c6d797fbbab409bc98b1d9c
treed1c03aeba883d0c9d312929e68ccb9e75566398f
parent060c034a974187e930b790957cafc5047cc30a40
thermal: of: implement .set_trips for device tree thermal zones

This patch implements .set_trips for device tree thermal zones.
As the hardware-tracked trip points is supported by thermal core patch[0].

patch[0]
"thermal: Add support for hardware-tracked trip points".

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Reviewed-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/of-thermal.c
include/linux/thermal.h