提交 bd1573a5 编写于 作者: M Matthew Garrett

xo15-ebook: Remove device.wakeup_count

This is handled automatically now.
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
上级 a3424216
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册