History

thermal: Move trip point structure definition to private header

The struct thermal_trip is only used by the thermal internals, it is pointless to export the definition in the global header. Move the structure to the thermal_core.h internal header.

Daniel Lezcano committed 6 years ago

Commit 2e7700d1 parent 33a88af2 files · +13 −15Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/thermal.h+0−15
@@ -332,21 +332,6 @@ struct thermal_zone_of_device_ops { · 331 unmodified lines
332332 int (*set_trip_temp)(void *, int, int);
333333 };
334334
335−/**
336− * struct thermal_trip - representation of a point in temperature domain
337− * @np: pointer to struct device_node that this trip point was created from
338− * @temperature: temperature value in miliCelsius
339− * @hysteresis: relative hysteresis in miliCelsius
340− * @type: trip point type
341− */
342−
343−struct thermal_trip {
344− struct device_node *np;
345− int temperature;
346− int hysteresis;
347− enum thermal_trip_type type;
348−};
349−
350335 /* Function declarations */
351336 #ifdef CONFIG_THERMAL_OF
352337 int thermal_zone_of_get_sensor_id(struct device_node *tz_np,