thermal: of: Rename struct __thermal_trip to struct thermal_trip

This patch changes name of struct __thermal_trip to thermal_trip and moves
declaration of the latter to ./include/linux/thermal.h for better visibility.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
This commit is contained in:
Lukasz Majewski
2014-12-08 18:04:19 +01:00
committed by Eduardo Valentin
parent a9bf2cc49d
commit ad9914ac3b
2 changed files with 18 additions and 18 deletions

View File

@@ -303,6 +303,21 @@ struct thermal_zone_of_device_ops {
int (*get_trend)(void *, long *);
};
/**
* struct thermal_trip - representation of a point in temperature domain
* @np: pointer to struct device_node that this trip point was created from
* @temperature: temperature value in miliCelsius
* @hysteresis: relative hysteresis in miliCelsius
* @type: trip point type
*/
struct thermal_trip {
struct device_node *np;
unsigned long int temperature;
unsigned long int hysteresis;
enum thermal_trip_type type;
};
/* Function declarations */
#ifdef CONFIG_THERMAL_OF
struct thermal_zone_device *