]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: platform_profile: Add profile attribute for class interface
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 6 Dec 2024 03:19:09 +0000 (21:19 -0600)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Dec 2024 17:18:06 +0000 (19:18 +0200)
commitd2785e39429a33966b010bcc89b169e93c6597f7
tree0fa14a9cb2dbf63a596a42719d6b54d4e7bedf0e
parent52a67be8ee274b14984df1a9f7ae157e11bc08ab
ACPI: platform_profile: Add profile attribute for class interface

Reading and writing the `profile` sysfs file will use the callbacks for
the platform profile handler to read or set the given profile.

Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20241206031918.1537-14-mario.limonciello@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/acpi/platform_profile.c