[PATCH v2 0/2] Add and use supported/unsupported string helper

Thorsten Blum posted 2 patches 2 weeks, 4 days ago
drivers/platform/x86/lenovo/thinkpad_acpi.c | 42 ++++++++-------------
include/linux/string_choices.h              |  6 +++
2 files changed, 22 insertions(+), 26 deletions(-)
[PATCH v2 0/2] Add and use supported/unsupported string helper
Posted by Thorsten Blum 2 weeks, 4 days ago
Add a shared str_supported_unsupported() helper and use it to replace
thinkpad_acpi's custom implementation.

Changes in v2:
- Add and use str_supported_unsupported() as suggested by Ilpo
- v1: https://lore.kernel.org/r/20260806131549.235170-2-thorsten.blum@linux.dev/

Thorsten Blum (2):
  lib/string_choices: Add str_supported_unsupported() helper
  platform/x86: thinkpad_acpi: Use str_supported_unsupported() helper

 drivers/platform/x86/lenovo/thinkpad_acpi.c | 42 ++++++++-------------
 include/linux/string_choices.h              |  6 +++
 2 files changed, 22 insertions(+), 26 deletions(-)
Re: [PATCH v2 0/2] Add and use supported/unsupported string helper
Posted by Ilpo Järvinen 1 week ago
On Mon, 07 Sep 2026 10:43:19 +0200, Thorsten Blum wrote:

> Add a shared str_supported_unsupported() helper and use it to replace
> thinkpad_acpi's custom implementation.
> 
> Changes in v2:
> - Add and use str_supported_unsupported() as suggested by Ilpo
> - v1: https://lore.kernel.org/r/20260806131549.235170-2-thorsten.blum@linux.dev/
> 
> [...]

Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.

The list of commits applied:
[1/2] lib/string_choices: Add str_supported_unsupported() helper
      commit: 5383cf280ef4f00b15f1d9e2a2886d0d02c0118b
[2/2] platform/x86: thinkpad_acpi: Use str_supported_unsupported() helper
      commit: 53196ef3b1ef26dd4c354c501b6a4bd6fbe2bbf7

--
 i.
Re: [PATCH v2 0/2] Add and use supported/unsupported string helper
Posted by Andy Shevchenko 2 weeks, 4 days ago
On Mon, Sep 7, 2026 at 11:44 AM Thorsten Blum <blum@kernel.org> wrote:
>
> Add a shared str_supported_unsupported() helper and use it to replace
> thinkpad_acpi's custom implementation.
>
> Changes in v2:
> - Add and use str_supported_unsupported() as suggested by Ilpo

Suggested-by?

-- 
With Best Regards,
Andy Shevchenko