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/[email protected]/ 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(-)

