forked from Minki/linux
xo15-ebook: Remove device.wakeup_count
This is handled automatically now. Signed-off-by: Matthew Garrett <mjg@redhat.com>
This commit is contained in:
parent
a3424216e4
commit
bd1573a554
@ -133,7 +133,6 @@ static int ebook_switch_add(struct acpi_device *device)
|
||||
/* Button's GPE is run-wake GPE */
|
||||
acpi_enable_gpe(device->wakeup.gpe_device,
|
||||
device->wakeup.gpe_number);
|
||||
device->wakeup.run_wake_count++;
|
||||
device_set_wakeup_enable(&device->dev, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user