Thermal: Add get trend, get instance API's to thermal_sys
authorDurgadoss R <durgadoss.r@intel.com>
Tue, 18 Sep 2012 05:34:54 +0000 (11:04 +0530)
committerZhang Rui <rui.zhang@intel.com>
Mon, 5 Nov 2012 05:56:32 +0000 (13:56 +0800)
This patch adds the following API's to thermal_sys.c, that
can be used by other Thermal drivers.
 * get_tz_trend: obtain the trend of the given thermal zone
 * get_thermal_instance: obtain the instance corresponding
   to the given tz, cdev and the trip point.

Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

No differences found