]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 20 May 2013 16:01:55 +0000 (00:01 +0800)
commit3a9d1f1e441afe73295f6b76376bb78580d1e508
treeedc81df1bc7c0c0d3647aea427c86a30d3796c34
parenta8bd2f1aae173fea27fce398f3c23ce10b77e1f1
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