OSDN Git Service

gpiolib: acpi: Turn dmi_system_id table into a generic quirk table
authorHans de Goede <hdegoede@redhat.com>
Sun, 5 Jan 2020 16:03:56 +0000 (17:03 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 19:07:03 +0000 (20:07 +0100)
commit34defb89679ec11442680ab784371d4fe76b0436
treefbce61c2dea93942ad5d652f4d4471f74b979439
parent8bd6980a014d34f3c250ce14b8670a9a09e6f7e9
gpiolib: acpi: Turn dmi_system_id table into a generic quirk table

commit 1ad1b54099c231aed8f6f257065c1b322583f264 upstream.

Turn the existing run_edge_events_on_boot_blacklist dmi_system_id table
into a generic quirk table, storing the quirks in the driver_data ptr.

This is a preparation patch for adding other types of (DMI based) quirks.

Cc: stable@vger.kernel.org
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200105160357.97154-2-hdegoede@redhat.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpio/gpiolib-acpi.c