]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: thinkpad_acpi: Convert btusb DMI list to quirks
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 29 Apr 2022 03:05:00 +0000 (22:05 -0500)
committerHans de Goede <hdegoede@redhat.com>
Fri, 6 May 2022 10:58:16 +0000 (12:58 +0200)
commit210d2d5a45649d4205043dfe878523b177f82d8a
treea024928d4c0602c535c1b36f6b7d021f8d97e51c
parent8ab28d9391129d26b2c0f25c88efb5a68f2e623a
platform/x86: thinkpad_acpi: Convert btusb DMI list to quirks

DMI matching in thinkpad_acpi happens local to a function meaning
quirks can only match that function.

Future changes to thinkpad_acpi may need to quirk other code, so
change this to use a quirk infrastructure.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Mark Pearson <markpearson@lenvo.com>
Link: https://lore.kernel.org/r/20220429030501.1909-2-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/thinkpad_acpi.c