summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSuma Hegde <suma.hegde@amd.com>2024-10-21 11:14:27 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-10-25 17:29:33 +0300
commitc1691730d9ffb8e813018235ad1b9754104cf67b (patch)
tree747ced37dd8c717c648cd6c8ac137aed3ccb51d2 /tools/perf/scripts/python/export-to-sqlite.py
parent4fc0366ef83f493c63ecf732cbb7ed49edd62072 (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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions