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

Bjorn Helgaas
2008-09-11T18:48:52Z

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.
> ...

> +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.