summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2024-12-06 04:19:01 +0100
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-12-10 18:17:53 +0100
commit4d5c027bf55661da2621c694ea39908ae2d3a46a (patch)
treec2e4feadbef38a744fb1d27de135486c8876baae /drivers/acpi
parentACPI: platform_profile: Add platform handler argument to platform_profile_rem... (diff)
downloadlinux-4d5c027bf55661da2621c694ea39908ae2d3a46a.tar.xz
linux-4d5c027bf55661da2621c694ea39908ae2d3a46a.zip
ACPI: platform_profile: Pass the profile handler into platform_profile_notify()
The profile handler will be used to notify the appropriate class devices. Reviewed-by: Armin Wolf <W_Armin@gmx.de> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20241206031918.1537-6-mario.limonciello@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/platform_profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/platform_profile.c b/drivers/acpi/platform_profile.c
index c24744da2091..927a2f7456c9 100644
--- a/drivers/acpi/platform_profile.c
+++ b/drivers/acpi/platform_profile.c
@@ -128,7 +128,7 @@ static const struct attribute_group platform_profile_group = {
.attrs = platform_profile_attrs
};
-void platform_profile_notify(void)
+void platform_profile_notify(struct platform_profile_handler *pprof)
{
if (!cur_profile)
return;