summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2011-03-28 06:40:23 -0400
committerMatthew Garrett <mjg@redhat.com>2011-03-28 06:46:16 -0400
commitbd1573a5546b4351b5d042f1e4cd631ea67cc6b0 (patch)
treeb46c546d77ee8931d47dafc97bf23b11472bffeb
parenta3424216e4935221fdaa5ca3c26e024f11297164 (diff)
downloadlinux-bd1573a5546b4351b5d042f1e4cd631ea67cc6b0.tar.bz2
xo15-ebook: Remove device.wakeup_count
This is handled automatically now. Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r--drivers/platform/x86/xo15-ebook.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/platform/x86/xo15-ebook.c b/drivers/platform/x86/xo15-ebook.c
index 2343bb36e563..c1372ed9d2e9 100644
--- a/drivers/platform/x86/xo15-ebook.c
+++ b/drivers/platform/x86/xo15-ebook.c
@@ -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);
}