diff options
author | Kurt Borja <kuurtb@gmail.com> | 2025-01-15 19:27:15 -0500 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-01-17 18:16:45 +0200 |
commit | c72ca29e7f4a6b3a2a3f9095f9e62ef281425e48 (patch) | |
tree | 13e81752aa25cbfb74c7e168f6ac5f51a40c45b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | db0c8eb72bc7ec65be830783461860de5041c71f (diff) |
platform/x86: inspur_platform_profile: Use devm_platform_profile_register()
Replace platform_profile_register() with it's device managed version.
While at it, pass inspur_wmi_priv to the class device as drvdata and
replace uses of container_of() with dev_get_drvdata().
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-14-kuurtb@gmail.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-postgresql.py')
0 files changed, 0 insertions, 0 deletions