mirror of https://gitee.com/openkylin/linux.git
platform/x86: peaq-wmi: Revert Blacklist Lenovo ideapad 700-15ISK
In favour of new approach this reverts commit
ff74972e96
.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
parent
ff74972e96
commit
dfea7e1827
|
@ -8,7 +8,6 @@
|
|||
*/
|
||||
|
||||
#include <linux/acpi.h>
|
||||
#include <linux/dmi.h>
|
||||
#include <linux/input-polldev.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue