]> www.infradead.org Git - users/jedix/linux-maple.git/commit
thermal/debugfs: Use helper to update trip point overstepping duration
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 28 May 2024 14:52:50 +0000 (16:52 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Jun 2024 19:01:21 +0000 (21:01 +0200)
commit8b95bed0cec98c9ff7a72acd6227c427a2b4f0a9
tree1ca1f40b1926aaf262ea7b7ed3b7351f986bac5a
parentb6846826982b9f2f2ad0e79540521b517469ee92
thermal/debugfs: Use helper to update trip point overstepping duration

Add a helper for updating trip point overstepping duration to be called
from thermal_debug_tz_trip_down().

Subsequently, it will also be used during resume from system-wide
suspend.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal_debugfs.c