alistair23-linux/drivers/thermal/ti-soc-thermal
Sascha Hauer e78eaf4599 thermal: streamline get_trend callbacks
The .get_trend callback in struct thermal_zone_device_ops has
the prototype:
        int (*get_trend) (struct thermal_zone_device *, int,
                          enum thermal_trend *);
whereas the .get_trend callback in struct thermal_zone_of_device_ops
has:
        int (*get_trend)(void *, long *);

Streamline both prototypes and add the trip argument to the OF callback
aswell and use enum thermal_trend * instead of an integer pointer.

While the OF prototype may be the better one, this should be decided at
framework level and not on OF level.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: linux-pm@vger.kernel.org
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2016-09-27 14:02:16 +08:00
..
dra752-bandgap.h thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00
dra752-thermal-data.c thermal: ti-soc-thermal: dra7: Implement Workaround for Errata i814 2015-05-08 17:55:46 -07:00
Kconfig ti-soc-thermal: implement omap3 support 2015-09-29 14:08:24 -07:00
Makefile ti-soc-thermal: implement omap3 support 2015-09-29 14:08:24 -07:00
omap3-thermal-data.c thermal: ti-soc-thermal: add OMAP36xx support 2015-09-29 14:13:19 -07:00
omap4-thermal-data.c
omap4xxx-bandgap.h
omap5-thermal-data.c thermal: ti-soc-thermal: OMAP5: Implement Workaround for Errata i813 2015-05-08 18:02:29 -07:00
omap5xxx-bandgap.h
ti-bandgap.c thermal: ti-soc-thermal: clean up the error handling a bit 2016-03-08 11:57:37 -08:00
ti-bandgap.h thermal: ti-soc-thermal: add OMAP36xx support 2015-09-29 14:13:19 -07:00
ti-thermal-common.c thermal: streamline get_trend callbacks 2016-09-27 14:02:16 +08:00
ti-thermal.h thermal: ti-soc-thermal: add thermal data for DRA752 chips 2013-06-13 10:15:52 +08:00
TODO