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 2343bb3..c1372ed 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);
        }