From dfea7e18276c6a702860c927298e15d4a4c2569d Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Sun, 8 Oct 2017 21:04:43 +0300 Subject: [PATCH] platform/x86: peaq-wmi: Revert Blacklist Lenovo ideapad 700-15ISK In favour of new approach this reverts commit ff74972e966bfc586cea116f976866858d1b0fec. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/peaq-wmi.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/platform/x86/peaq-wmi.c b/drivers/platform/x86/peaq-wmi.c index e09f37cdeb3c4..bc98ef95514a1 100644 --- a/drivers/platform/x86/peaq-wmi.c +++ b/drivers/platform/x86/peaq-wmi.c @@ -8,7 +8,6 @@ */ #include -#include #include #include #include @@ -65,22 +64,9 @@ static void peaq_wmi_poll(struct input_polled_dev *dev) } } -static const struct dmi_system_id peaq_blacklist[] __initconst = { - { - /* Lenovo ideapad 700-15ISK does not have Dolby button */ - .ident = "Lenovo ideapad 700-15ISK", - .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), - DMI_MATCH(DMI_PRODUCT_NAME, "80RU"), - }, - }, - {} -}; - static int __init peaq_wmi_init(void) { - if (!wmi_has_guid(PEAQ_DOLBY_BUTTON_GUID) || - dmi_check_system(peaq_blacklist)) + if (!wmi_has_guid(PEAQ_DOLBY_BUTTON_GUID)) return -ENODEV; peaq_poll_dev = input_allocate_polled_device(); -- 2.30.2