aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
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 /drivers/platform
parenta3424216e4935221fdaa5ca3c26e024f11297164 (diff)
xo15-ebook: Remove device.wakeup_count
This is handled automatically now. Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform')
-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)
133 /* Button's GPE is run-wake GPE */ 133 /* Button's GPE is run-wake GPE */
134 acpi_enable_gpe(device->wakeup.gpe_device, 134 acpi_enable_gpe(device->wakeup.gpe_device,
135 device->wakeup.gpe_number); 135 device->wakeup.gpe_number);
136 device->wakeup.run_wake_count++;
137 device_set_wakeup_enable(&device->dev, true); 136 device_set_wakeup_enable(&device->dev, true);
138 } 137 }
139 138