Files
linux/include
Sascha Hauer 2aaa7c7097 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.

Change-Id: I39c5a38a22c7a2177a35338bc63c8ba36983a7b0
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2016-04-26 10:35:59 +08:00
..
2015-11-11 15:57:28 +08:00
2015-11-11 15:57:28 +08:00
2015-11-11 19:52:00 +08:00
2015-12-03 09:32:33 -08:00
2016-04-20 18:52:25 +08:00
2016-02-18 15:18:27 +08:00
2015-12-18 10:00:17 -05:00