Loading drivers/thermal/thermal_core.h +0 −7 Original line number Diff line number Diff line Loading @@ -142,8 +142,6 @@ thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, #ifdef CONFIG_THERMAL_OF int of_thermal_get_ntrips(struct thermal_zone_device *); bool of_thermal_is_trip_valid(struct thermal_zone_device *, int); const struct thermal_trip * of_thermal_get_trip_points(struct thermal_zone_device *); #else static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) { Loading @@ -154,11 +152,6 @@ static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, { return false; } static inline const struct thermal_trip * of_thermal_get_trip_points(struct thermal_zone_device *tz) { return NULL; } #endif int thermal_zone_device_is_enabled(struct thermal_zone_device *tz); Loading drivers/thermal/thermal_of.c +0 −17 Original line number Diff line number Diff line Loading @@ -54,23 +54,6 @@ bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) } EXPORT_SYMBOL_GPL(of_thermal_is_trip_valid); /** * of_thermal_get_trip_points - function to get access to a globally exported * trip points * * @tz: pointer to a thermal zone * * This function provides a pointer to trip points table * * Return: pointer to trip points table, NULL otherwise */ const struct thermal_trip * of_thermal_get_trip_points(struct thermal_zone_device *tz) { return tz->trips; } EXPORT_SYMBOL_GPL(of_thermal_get_trip_points); static int of_thermal_set_trip_hyst(struct thermal_zone_device *tz, int trip, int hyst) { Loading Loading
drivers/thermal/thermal_core.h +0 −7 Original line number Diff line number Diff line Loading @@ -142,8 +142,6 @@ thermal_cooling_device_stats_update(struct thermal_cooling_device *cdev, #ifdef CONFIG_THERMAL_OF int of_thermal_get_ntrips(struct thermal_zone_device *); bool of_thermal_is_trip_valid(struct thermal_zone_device *, int); const struct thermal_trip * of_thermal_get_trip_points(struct thermal_zone_device *); #else static inline int of_thermal_get_ntrips(struct thermal_zone_device *tz) { Loading @@ -154,11 +152,6 @@ static inline bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, { return false; } static inline const struct thermal_trip * of_thermal_get_trip_points(struct thermal_zone_device *tz) { return NULL; } #endif int thermal_zone_device_is_enabled(struct thermal_zone_device *tz); Loading
drivers/thermal/thermal_of.c +0 −17 Original line number Diff line number Diff line Loading @@ -54,23 +54,6 @@ bool of_thermal_is_trip_valid(struct thermal_zone_device *tz, int trip) } EXPORT_SYMBOL_GPL(of_thermal_is_trip_valid); /** * of_thermal_get_trip_points - function to get access to a globally exported * trip points * * @tz: pointer to a thermal zone * * This function provides a pointer to trip points table * * Return: pointer to trip points table, NULL otherwise */ const struct thermal_trip * of_thermal_get_trip_points(struct thermal_zone_device *tz) { return tz->trips; } EXPORT_SYMBOL_GPL(of_thermal_get_trip_points); static int of_thermal_set_trip_hyst(struct thermal_zone_device *tz, int trip, int hyst) { Loading