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)
committerZhang Rui <rui.zhang@intel.com>
Tue, 28 May 2013 02:04:22 +0000 (10:04 +0800)
commit83720d0b79618cd07c955ef1204c9cb0acb614a5
tree823318b9b84251bb81b0018e0960c50df5d6ec91
parent42a5bf507d7f7ecbf606eb392dd9d2e4d009c36b
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