]> 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 11:05:57 +0000 (13:05 +0200)
commit5c7c28b40cdef5dff4b312cea2eb72a8c7a32696
treeb4d80bf53519a58ca056a5d8f3e73154436c8613
parent9194466a6498368f73f574fc365eac7bda46557d
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