Thread (1 message) 1 message, 1 author, 2008-09-11

Re: [RFC 2/5] devcore adds generic wakeup event handler

From: Bjorn Helgaas <hidden>
Date: 2008-09-11 18:48:52

On Thursday 11 September 2008 12:30:39 am Shaohua Li wrote:
The default action to handle wakeup event. Currently just prints something,
maybe we should call .resume(). The routine will be called in task context.
...
quoted hunk
+void device_receive_wakeup_event(struct device *dev)
+{
+	printk("Device %s invokes wakeup event\n", dev->bus_id);
Please use dev_printk(), e.g., dev_info() in this case.  Also
applies to patches 4 and 5.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help