Browse Source

xo15-ebook: Remove device.wakeup_count

This is handled automatically now.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Matthew Garrett 14 years ago
parent
commit
bd1573a554
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/platform/x86/xo15-ebook.c

+ 0 - 1
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);
 	}