diff options
| author | Armin Wolf <W_Armin@gmx.de> | 2024-11-07 01:38:11 +0100 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-11-12 11:55:35 +0200 |
| commit | b0955ce555478e24ed34c7d14f62fdf9c07b15cb (patch) | |
| tree | 33ba7cfc891d5b4aa4d104d08b9c4fc0c1a2a5c6 /drivers/platform/x86/intel/pmt/class.c | |
| parent | platform/x86: asus-wmi: Fix inconsistent use of thermal policies (diff) | |
| download | linux-b0955ce555478e24ed34c7d14f62fdf9c07b15cb.tar.gz linux-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 <hdegoede@redhat.com>
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20241107003811.615574-3-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
