From: Matthew Garrett Date: Mon, 28 Mar 2011 10:40:23 +0000 (-0400) Subject: xo15-ebook: Remove device.wakeup_count X-Git-Tag: v3.0~1130^2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bd1573a5546b4351b5d042f1e4cd631ea67cc6b0;p=platform%2Fkernel%2Flinux-amlogic.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 2343bb3..c1372ed 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); }