platform/x86/amd/hsmp: Restructure sysfs group creation
authorSuma Hegde <suma.hegde@amd.com>
Sat, 6 Jan 2024 02:25:27 +0000 (02:25 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 31 Jan 2024 08:26:43 +0000 (10:26 +0200)
commitca511e7631e76e02c95cce6cf934e165e0e93a21
tree380c9f0b84e08d5332aafe86fdc80f782a56a035
parentce08d3570ae0ef3e8b011d8bd4722b7b413c476b
platform/x86/amd/hsmp: Restructure sysfs group creation

Split the creation of array of attribute groups and array of attributes
into different functions. This will ease the ACPI support.

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Signed-off-by: Naveen Krishna Chatradhi <nchatrad@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240106022532.1746932-6-suma.hegde@amd.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/amd/hsmp.c