[PATCH v4 0/1] asus-wmi: add platform_profile support

From: Luke D. Jones
Date: Sun Aug 15 2021 - 19:08:19 EST


Changelog:
- V2
+ Correctly unregister from platform_profile if
throttle_thermal_policy fails
+ Do platform_profile_notify() in both throttle_thermal_policy_store()
and in throttle_thermal_policy_switch_next()
+ Remove unnecessary prep for possible fan-boost modes as this
doesn't match expected platform_profile behaviour
- V3
+ Add missing declaration for err in
throttle_thermal_policy_switch_next
- V4
+ Update some return codes to use -ENODATA
+ Switch pr_info() to dev_info()
+ Restructure some if/else blocks
+ Add "select ACPI_PLATFORM_PROFILE" to ASUS_WMI kconfig

Luke D. Jones (1):
asus-wmi: Add support for platform_profile

drivers/platform/x86/Kconfig | 1 +
drivers/platform/x86/asus-wmi.c | 138 +++++++++++++++++++++++++++++++-
2 files changed, 135 insertions(+), 4 deletions(-)

--
2.31.1