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)
commit89643719d86ff9ec7b972aa969587d37b08d113c
treea024928d4c0602c535c1b36f6b7d021f8d97e51c
parent830fe3c30dffe0b9f9485772070c29fcd8c2473d
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