Thermal: core: Ask .get_trip_temp() to register thermal zone device.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Sat, 18 May 2013 09:50:26 +0000 (09:50 +0000)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:45:08 +0000 (11:45 +0900)
commita8469d2e6eb44a854a23292a15b8bbba4bc9f1f8
treeeb401c0be208c997be6d9e8b1dcfe291a68c9c60
parent9c52ab8f2afeb39ec269c3bb366a6cd1079a88af
Thermal: core: Ask .get_trip_temp() to register thermal zone device.

This patch adds a requirement needing .get_trip_temp() callback
function for registering thermal zone device. This function is
used when thermal zone is updated and essential where thermal core
handles thermal trip based only polling way not hw interrupt.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Acked-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c