aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorVishnu Sankar <[email protected]>2024-02-15 22:41:01 +0900
committerIlpo Järvinen <[email protected]>2024-02-20 11:08:09 +0200
commitee8b738e7f7adf78700afd9ab9642fe015464885 (patch)
tree3892f30668567d694bb6bd195907deba231886c2 /include/linux/debugobjects.h
parentc5211eacf3326538fbf31b612e5ea546ca8a3425 (diff)
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 <[email protected]> Signed-off-by: Vishnu Sankar <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ij: Reflowed the comment to 80 cols, multiline if braces, added __init.] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions