diff options
author | Hridesh MG <hridesh699@gmail.com> | 2025-01-13 18:44:11 +0530 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-01-15 16:27:34 +0200 |
commit | 61c461a90fbfc038d9663713f293d60fcb58c41d (patch) | |
tree | d5810a5070d0f90bd4e38b84c2802ba559ba643a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cd44e09bb89d4a33514b9ec3d972f0d2d13f5cfd (diff) |
platform/x86: acer-wmi: simplify platform profile cycling
Make use of platform_profile_cycle() to simplify the logic used for
cycling through the different platform profiles. Also remove the
unnecessary handling for AC power, as the hardware accepts different
profiles regardless of whether AC is plugged in.
Link: https://lore.kernel.org/platform-driver-x86/20e3ac66-b040-49a9-ab00-0adcfdaed2ff@gmx.de/
Signed-off-by: Hridesh MG <hridesh699@gmail.com>
Reviewed-by: Kurt Borja <kuurtb@gmail.com>
Link: https://lore.kernel.org/r/20250113-platform_profile-v4-3-23be0dff19f1@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions