diff options
| author | Hans de Goede <[email protected]> | 2021-11-23 22:04:21 +0100 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-11-25 16:22:50 +0100 |
| commit | 5cd689683eb0507c67f825f1c29b17bb80612468 (patch) | |
| tree | ccd444caa7d2117ce41864b25cea575e3e2fa73c /tools/perf/scripts/python | |
| parent | 2f5ad08f3eec8d4376b62f3fe708102f6aaea056 (diff) | |
platform/x86: thinkpad_acpi: tpacpi_attr_group contains driver attributes not device attrs
Commit 79f960e29cfc ("platform/x86: thinkpad_acpi: Convert platform driver
to use dev_groups") put the debug_level, interface_version, version and the
THINKPAD_ACPI_DEBUGFACILITIES attributes in a new tpacpi_attr_group and
added those to the tpacpi_groups groups-array which is used to initialize
the driver.dev_groups member.
But before this commit these attributes were registered with
driver_create_file(), so they should be part of the groups-array which is
used to initialize the driver.groups member instead.
And also make the same change for the fan_watchdog hwmon driver attribute.
Fixes: 79f960e29cfc ("platform/x86: thinkpad_acpi: Convert platform driver to use dev_groups")
Cc: Len Baker <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions