]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/dell: dell-pc: Create platform device
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 6 Dec 2024 03:18:58 +0000 (21:18 -0600)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 10 Dec 2024 17:17:48 +0000 (19:17 +0200)
commit7c63fe4dcd0ae08eda7fcb8c31d22ef33c591fe5
tree933c54ee0b634dfa785c698fd59c94aacb16c748
parent549de562d794a42bb647952e965e588390e16fe0
platform/x86/dell: dell-pc: Create platform device

In order to have a device for the platform profile core to reference
create a platform device for dell-pc.

While doing this change the memory allocation for the thermal handler
to be device managed to follow the lifecycle of that device.

Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
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-3-mario.limonciello@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/dell-pc.c