Skip to content

platform/x86: thinkpad_acpi: 4 bug-fixes + 2 cleanups

Hans de Goede platform-driver-x86 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6platform/x86: thinkpad_acpi: Restore missing hotkey_tablet_mode and hotkey_radio_sw sysfs-attrdrivers/platform/x86/thinkpad_acpi.c+2 -00 replies
2/6platform/x86: thinkpad_acpi: Register tpacpi_pdriver after subdriver initdrivers/platform/x86/thinkpad_acpi.c+21 -200 replies
3/6platform/x86: thinkpad_acpi: tpacpi_attr_group contains driver attributes not device attrsdrivers/platform/x86/thinkpad_acpi.c+25 -50 replies
4/6platform/x86: thinkpad_acpi: Fix the hwmon sysfs-attr showing up in the wrong placedrivers/platform/x86/thinkpad_acpi.c+12 -120 replies
5/6platform/x86: thinkpad_acpi: Remove unused sensors_pdev_attrs_registered flagdrivers/platform/x86/thinkpad_acpi.c+0 -20 replies
6/6platform/x86: thinkpad_acpi: Move input_unregister_device() to the top of thinkpad_acpi_module_exit()drivers/platform/x86/thinkpad_acpi.c+6 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] platform/x86: thinkpad_acpi: 4 bug-fixes + 2 cleanups

Hi All,

Here is a thinkpad_acpi series with 4 bug-fixes fixing various bugs which I missed while merging the big patch to move to dev_groups + 2 small cleanups on top.

The first bug-fixes is 5.16-rc# material since one initial patch to move the hotkeys stuff to using is_visible already landed in 5.16-rc1.

Regards,

Hans

Hans de Goede (6):
platform/x86: thinkpad_acpi: Restore missing hotkey_tablet_mode and
hotkey_radio_sw sysfs-attr
platform/x86: thinkpad_acpi: Register tpacpi_pdriver after subdriver
init
platform/x86: thinkpad_acpi: tpacpi_attr_group contains driver
attributes not device attrs
platform/x86: thinkpad_acpi: Fix the hwmon sysfs-attr showing up in
the wrong place
platform/x86: thinkpad_acpi: Remove unused
sensors_pdev_attrs_registered flag
platform/x86: thinkpad_acpi: Move input_unregister_device() to the top
of thinkpad_acpi_module_exit()

 drivers/platform/x86/thinkpad_acpi.c | 113 ++++++++++++++++-----------
 1 file changed, 66 insertions(+), 47 deletions(-)
Signature · 1 line
2.33.1