]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/surface: surface_platform_profile: Use devm_platform_profile_register()
authorKurt Borja <kuurtb@gmail.com>
Thu, 16 Jan 2025 00:27:08 +0000 (19:27 -0500)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 16 Jan 2025 15:26:31 +0000 (17:26 +0200)
commit24c54b19b4958c8bc390d78d1da3413eb0970b8a
tree92ef6a37362040c4b2a74aa2887e9112167fed0b
parent58d5629dc8b8b8d9928fc649d9f2aaa361a8a5c5
platform/surface: surface_platform_profile: Use devm_platform_profile_register()

Replace platform_profile_register() with it's device managed version.

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-7-kuurtb@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/surface/surface_platform_profile.c