From: Matthew Garrett Date: Mon, 28 Mar 2011 10:40:23 +0000 (-0400) Subject: xo15-ebook: Remove device.wakeup_count X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bd1573a5546b4351b5d042f1e4cd631ea67cc6b0;p=openwrt%2Fstaging%2Fblogic.git xo15-ebook: Remove device.wakeup_count This is handled automatically now. Signed-off-by: Matthew Garrett --- 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); }