diff options
| author | 2024-10-21 11:14:27 +0000 | |
|---|---|---|
| committer | 2024-10-25 17:29:33 +0300 | |
| commit | c1691730d9ffb8e813018235ad1b9754104cf67b (patch) | |
| tree | 747ced37dd8c717c648cd6c8ac137aed3ccb51d2 /scripts/Makefile.thinlto | |
| parent | platform/x86/amd/hsmp: Use name space while exporting module symbols (diff) | |
platform/x86/amd/hsmp: Use dev_groups in the driver structure
Move out of device_add_group() variants, instead assign static array of
attribute groups to .dev_groups in platform_driver structure.
Then use is_visible to enable only the necessary files on the platform.
.read() and .is_bin_visibile() have slightly different
implemetations on ACPI and non-ACPI system, so move them
to respective files.
Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20241021111428.2676884-10-suma.hegde@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
