aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2024-11-07 00:38:11 +0000
committerIlpo Järvinen <[email protected]>2024-11-12 09:55:35 +0000
commitb0955ce555478e24ed34c7d14f62fdf9c07b15cb (patch)
tree33ba7cfc891d5b4aa4d104d08b9c4fc0c1a2a5c6 /drivers/platform/x86/intel/pmt/class.c
parentplatform/x86: asus-wmi: Fix inconsistent use of thermal policies (diff)
downloadkernel-b0955ce555478e24ed34c7d14f62fdf9c07b15cb.tar.gz
kernel-b0955ce555478e24ed34c7d14f62fdf9c07b15cb.zip
platform/x86: asus-wmi: Use platform_profile_cycle()
Replace throttle_thermal_policy_switch_next() with platform_profile_cycle() to reduce code duplication and avoid a potential race condition with the platform profile handler. Suggested-by: Hans de Goede <[email protected]> Signed-off-by: Armin Wolf <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions