Commit 8dff6e84 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

thermal/debugfs: Rename thermal_debug_update_temp() to thermal_debug_update_trip_stats()

Rename thermal_debug_update_temp() to thermal_debug_update_trip_stats()
which is a better match for the purpose of the function.

No functional impact.
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: default avatarLukasz Luba <lukasz.luba@arm.com>
Acked-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent e271f997
...@@ -504,7 +504,7 @@ void __thermal_zone_device_update(struct thermal_zone_device *tz, ...@@ -504,7 +504,7 @@ void __thermal_zone_device_update(struct thermal_zone_device *tz,
if (governor->manage) if (governor->manage)
governor->manage(tz); governor->manage(tz);
thermal_debug_update_temp(tz); thermal_debug_update_trip_stats(tz);
monitor_thermal_zone(tz); monitor_thermal_zone(tz);
} }
......
...@@ -676,7 +676,7 @@ void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, ...@@ -676,7 +676,7 @@ void thermal_debug_tz_trip_down(struct thermal_zone_device *tz,
mutex_unlock(&thermal_dbg->lock); mutex_unlock(&thermal_dbg->lock);
} }
void thermal_debug_update_temp(struct thermal_zone_device *tz) void thermal_debug_update_trip_stats(struct thermal_zone_device *tz)
{ {
struct thermal_debugfs *thermal_dbg = tz->debugfs; struct thermal_debugfs *thermal_dbg = tz->debugfs;
struct tz_debugfs *tz_dbg; struct tz_debugfs *tz_dbg;
......
...@@ -11,7 +11,7 @@ void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, ...@@ -11,7 +11,7 @@ void thermal_debug_tz_trip_up(struct thermal_zone_device *tz,
const struct thermal_trip *trip); const struct thermal_trip *trip);
void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, void thermal_debug_tz_trip_down(struct thermal_zone_device *tz,
const struct thermal_trip *trip); const struct thermal_trip *trip);
void thermal_debug_update_temp(struct thermal_zone_device *tz); void thermal_debug_update_trip_stats(struct thermal_zone_device *tz);
#else #else
static inline void thermal_debug_init(void) {} static inline void thermal_debug_init(void) {}
static inline void thermal_debug_cdev_add(struct thermal_cooling_device *cdev) {} static inline void thermal_debug_cdev_add(struct thermal_cooling_device *cdev) {}
...@@ -24,5 +24,5 @@ static inline void thermal_debug_tz_trip_up(struct thermal_zone_device *tz, ...@@ -24,5 +24,5 @@ static inline void thermal_debug_tz_trip_up(struct thermal_zone_device *tz,
const struct thermal_trip *trip) {}; const struct thermal_trip *trip) {};
static inline void thermal_debug_tz_trip_down(struct thermal_zone_device *tz, static inline void thermal_debug_tz_trip_down(struct thermal_zone_device *tz,
const struct thermal_trip *trip) {} const struct thermal_trip *trip) {}
static inline void thermal_debug_update_temp(struct thermal_zone_device *tz) {} static inline void thermal_debug_update_trip_stats(struct thermal_zone_device *tz) {}
#endif /* CONFIG_THERMAL_DEBUGFS */ #endif /* CONFIG_THERMAL_DEBUGFS */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment