You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ACPI: platform_profile: Remove platform_profile_handler from exported symbols
JIRA: https://issues.redhat.com/browse/RHEL-89362
Conflicts:
drivers/platform/surface/surface_platform_profile.c - minor
context differences
drivers/platform/x86/dell/alienware-wmi.c - centos-stream-10
does not support thermal_profiles for alienware yet, so this part of
the commit was dropped
commit 07f531b
Author: Kurt Borja <kuurtb@gmail.com>
Date: Wed Jan 15 19:27:17 2025 -0500
In order to protect the platform_profile_handler from API consumers,
allocate it in platform_profile_register() and modify it's signature
accordingly.
Remove the platform_profile_handler from all consumer drivers and
replace them with a pointer to the class device, which is
now returned from platform_profile_register().
Replace *pprof with a pointer to the class device in the rest of
exported symbols.
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20250116002721.75592-16-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
0 commit comments