diff options
| author | Vishnu Sankar <vishnuocv@gmail.com> | 2024-02-15 22:41:01 +0900 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-02-20 11:08:09 +0200 |
| commit | ee8b738e7f7adf78700afd9ab9642fe015464885 (patch) | |
| tree | 3892f30668567d694bb6bd195907deba231886c2 /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | platform/x86: ideapad-laptop: support Fn+R dual-function key (diff) | |
| download | linux-ee8b738e7f7adf78700afd9ab9642fe015464885.tar.gz linux-ee8b738e7f7adf78700afd9ab9642fe015464885.zip | |
platform/x86: thinkpad_acpi: Simplify thermal mode checking
Add a thermal_read_mode_check helper to make the code
simpler during init. This helps particularly when the new
TPACPI_THERMAL_TPEC_12 mode is added in the next patch.
Suggested-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Vishnu Sankar <vishnuocv@gmail.com>
Link: https://lore.kernel.org/r/20240215134102.25118-1-vishnuocv@gmail.com
[ij: Reflowed the comment to 80 cols, multiline if braces, added __init.]
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/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
