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 11:05:57 +0000 (13:05 +0200)
commitc25d7f32e3e209462cd82e6e93e66b72dbb2308f
treeb4d80bf53519a58ca056a5d8f3e73154436c8613
parenteb2fd9b43fae0c51982ac4229535b6cfd77380db
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