]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
xo15-ebook: Remove device.wakeup_count
authorMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:40:23 +0000 (06:40 -0400)
committerMatthew Garrett <mjg@redhat.com>
Mon, 28 Mar 2011 10:46:16 +0000 (06:46 -0400)
This is handled automatically now.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/xo15-ebook.c

index 2343bb36e5635272b8f8ed67cd32fb9e56ad40b9..c1372ed9d2e95c1744c161f50ae6ce92bc27797c 100644 (file)
@@ -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);
        }