diff options
| author | Hans de Goede <[email protected]> | 2021-11-23 22:04:19 +0100 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-11-25 16:20:47 +0100 |
| commit | 910524004383863bb1d2888e510dd61fd00119d0 (patch) | |
| tree | d570535af50cc33f1e63c6780673145be105f10d /tools/perf/scripts/python | |
| parent | 3a0abea60c6a39f5362db6d78cba7a932850fec2 (diff) | |
platform/x86: thinkpad_acpi: Restore missing hotkey_tablet_mode and hotkey_radio_sw sysfs-attr
Commit c99ca78d67a6 ("platform/x86: thinkpad_acpi: Switch to common use
of attributes") removed the conditional adding of the
hotkey_tablet_mode and hotkey_radio_sw sysfs-attributes, replacing this
with a hotkey_attr_is_visible() callback which hides them when the
feature is not present.
But this commit forgot to add these 2 attributes to the default
hotkey_attributes[] set, so they would now never get added at all.
Add the 2 attributes to the default hotkey_attributes[] set so that
they are available on systems with these features once more.
Fixes: c99ca78d67a6 ("platform/x86: thinkpad_acpi: Switch to common use of attributes")
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