Skip to content

thinkpad_acpi: 1 bugfix + a bunch of cleanups

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7platform/x86: thinkpad_acpi: Accept ibm_init_struct.init() returning -ENODEVdrivers/platform/x86/thinkpad_acpi.c+2 -20 replies
2/7platform/x86: thinkpad_acpi: Make *_init() functions return -ENODEV instead of 1drivers/platform/x86/thinkpad_acpi.c+34 -510 replies
3/7platform/x86: thinkpad_acpi: Simplify dytc_version handlingdrivers/platform/x86/thinkpad_acpi.c+5 -420 replies
4/7platform/x86: thinkpad_acpi: Cleanup dytc_profile_availabledrivers/platform/x86/thinkpad_acpi.c+6 -120 replies
5/7platform/x86: thinkpad_acpi: Properly indent code in tpacpi_dytc_profile_init()drivers/platform/x86/thinkpad_acpi.c+23 -240 replies
6/7platform/x86: thinkpad_acpi: Remove "goto err_exit" from hotkey_init()drivers/platform/x86/thinkpad_acpi.c+2 -60 replies
7/7platform/x86: thinkpad_acpi: Fix thermal_temp_input_attr sortingdrivers/platform/x86/thinkpad_acpi.c+8 -80 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoMark Pearson
SeriesR-b T-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] thinkpad_acpi: 1 bugfix + a bunch of cleanups

Hi All,

Here is a patch-series for the thinkpad_acpi driver starting with one important bugfix which fixes a bug introduced by commit 79f960e29cfc ("platform/x86: thinkpad_acpi: Convert platform driver to use dev_groups") in platform-drivers-x86/for-next which is causing the driver to not load at all on many devices.

Followed by a bunch of cleanup patches.

Please test and review.

Regards,

Hans

Hans de Goede (7):
platform/x86: thinkpad_acpi: Accept ibm_init_struct.init() returning
-ENODEV
platform/x86: thinkpad_acpi: Make *_init() functions return -ENODEV
instead of 1
platform/x86: thinkpad_acpi: Simplify dytc_version handling platform/x86: thinkpad_acpi: Cleanup dytc_profile_available platform/x86: thinkpad_acpi: Properly indent code in
tpacpi_dytc_profile_init()
platform/x86: thinkpad_acpi: Remove "goto err_exit" from hotkey_init() platform/x86: thinkpad_acpi: Fix thermal_temp_input_attr sorting

 drivers/platform/x86/thinkpad_acpi.c | 221 ++++++++++-----------------
 1 file changed, 78 insertions(+), 143 deletions(-)
Signature · 1 line
2.31.1