diff options
author | Kurt Borja <kuurtb@gmail.com> | 2025-02-14 19:03:02 -0500 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-02-24 13:49:20 +0200 |
commit | 43fc63a1e8f6db7148f9cfcddda539c3437bc6c2 (patch) | |
tree | 3bc07912714ca160b378cdff12d0ae59b6fae019 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 38b9ab80db31cf993a8f3ab2baf772083b62ca6f (diff) |
platform/x86: thinkpad_acpi: Move HWMON initialization to tpacpi_hwmon_pdriver's probe
Let the driver core manage the lifetime of the HWMON device, by
registering it inside tpacpi_hwmon_pdriver's probe and using
devm_hwmon_device_register_with_groups().
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/20250215000302.19753-3-kuurtb@gmail.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