Commit bd1573a5 authored by Matthew Garrett's avatar Matthew Garrett

xo15-ebook: Remove device.wakeup_count

This is handled automatically now.
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent a3424216
...@@ -133,7 +133,6 @@ static int ebook_switch_add(struct acpi_device *device) ...@@ -133,7 +133,6 @@ static int ebook_switch_add(struct acpi_device *device)
/* Button's GPE is run-wake GPE */ /* Button's GPE is run-wake GPE */
acpi_enable_gpe(device->wakeup.gpe_device, acpi_enable_gpe(device->wakeup.gpe_device,
device->wakeup.gpe_number); device->wakeup.gpe_number);
device->wakeup.run_wake_count++;
device_set_wakeup_enable(&device->dev, true); device_set_wakeup_enable(&device->dev, true);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment