diff options
| author | Zhang Rui <rui.zhang@intel.com> | 2012-06-27 09:51:12 +0800 | 
|---|---|---|
| committer | Zhang Rui <rui.zhang@intel.com> | 2012-09-24 14:44:36 +0800 | 
| commit | 1b7ddb840c3908464b19d4aa4f6dc4c463302442 (patch) | |
| tree | 1fe5719ab4e3bc895dde8bfb0f480d18746498fb /include/linux/thermal.h | |
| parent | 601f3d4242be6ed6f72a2aadabc91e8255dad811 (diff) | |
| download | olio-linux-3.10-1b7ddb840c3908464b19d4aa4f6dc4c463302442.tar.xz olio-linux-3.10-1b7ddb840c3908464b19d4aa4f6dc4c463302442.zip  | |
Thermal: Remove tc1/tc2 in generic thermal layer.
Remove tc1/tc2 in generic thermal layer.
.get_trend() callback starts to take effect from this patch.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Reviewed-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Valentin, Eduardo <eduardo.valentin@ti.com>
Diffstat (limited to 'include/linux/thermal.h')
| -rw-r--r-- | include/linux/thermal.h | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index 6a1d43d2ec9..38267a595d6 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -115,8 +115,6 @@ struct thermal_zone_device {  	struct thermal_attr *trip_hyst_attrs;  	void *devdata;  	int trips; -	int tc1; -	int tc2;  	int passive_delay;  	int polling_delay;  	int temperature; @@ -163,8 +161,7 @@ enum {  #define THERMAL_GENL_CMD_MAX (__THERMAL_GENL_CMD_MAX - 1)  struct thermal_zone_device *thermal_zone_device_register(const char *, int, int, -		void *, const struct thermal_zone_device_ops *, int tc1, -		int tc2, int passive_freq, int polling_freq); +		void *, const struct thermal_zone_device_ops *, int, int);  void thermal_zone_device_unregister(struct thermal_zone_device *);  int thermal_zone_bind_cooling_device(struct thermal_zone_device *, int,  |