瀏覽代碼

xo15-ebook: Remove device.wakeup_count

This is handled automatically now.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Matthew Garrett 14 年之前
父節點
當前提交
bd1573a554
共有 1 個文件被更改,包括 0 次插入1 次删除
  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);
 	}