commit | 9b4298a088907811a4fe5a5d7cd2454da60708c5 | [log] [tgz] |
---|---|---|
author | Durgadoss R <durgadoss.r@intel.com> | Tue Sep 18 11:04:54 2012 +0530 |
committer | Zhang Rui <rui.zhang@intel.com> | Mon Nov 05 13:56:32 2012 +0800 |
tree | 77d598b92fae403b5cc1c558a9f52d69da4a072b | |
parent | 71350db43b4c5c4da59b729c805f00ff6675b99d [diff] |
Thermal: Add get trend, get instance API's to thermal_sys 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>