linux/drivers/platform/surface
Kurt Borja 07f531b395 ACPI: platform_profile: Remove platform_profile_handler from exported symbols
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>
2025-01-17 19:15:59 +02:00
..
aggregator move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
Kconfig
Makefile
surface3-wmi.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface3_power.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
surface_acpi_notify.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_aggregator_cdev.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_aggregator_hub.c platform/surface: aggregator_registry: Fix target-ID of base-hub 2023-02-02 22:48:20 +01:00
surface_aggregator_registry.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_aggregator_tabletsw.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
surface_dtx.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_gpe.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_hotplug.c Get rid of 'remove_new' relic from platform driver struct 2024-12-01 15:12:43 -08:00
surface_platform_profile.c ACPI: platform_profile: Remove platform_profile_handler from exported symbols 2025-01-17 19:15:59 +02:00
surfacepro3_button.c