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 - V5 + Remove unrequired include asm-generic/errno.h + Collapse if blocks with only one line (remove parens) + Remove unrequired throttle_thermal_policy checks + Remove leftover comment from previous versions Luke D. Jones (1): asus-wmi: Add support for platform_profile drivers/platform/x86/Kconfig | 1 + drivers/platform/x86/asus-wmi.c | 130 +++++++++++++++++++++++++++++++- 2 files changed, 127 insertions(+), 4 deletions(-) -- 2.31.1