linux-next/Documentation
Linus Walleij fa2b5ea09e serial: core: delete .set_wake() callback
This deletes the .set_wake() callback in the struct uart_ops.
Apparently this has been unused since pre-git times. In the
old-2.6-bkcvs it is deleted as part of a changeset removing
the PM_SET_WAKEUP from pm_request_t which is since also deleted
from the kernel.

The apropriate way to set wakeups in the kernel is to have a
code snippet like this in .suspend() or .runtime_suspend()
callbacks:

static int foo_suspend(struct device *dev)
{
	if (device_may_wakeup(dev)) {
		/* Enable wakeups, set internal states */
	}
}

This specific callback is not coming back.

Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Len Brown <len.brown@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Dmitry Artamonow <mad_soft@inbox.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-16 13:16:19 -07:00
..
2011-09-27 18:08:04 +02:00
2012-04-03 13:09:18 +02:00
2013-09-05 20:46:06 -04:00
2013-10-02 21:48:32 -07:00
2011-09-27 18:08:04 +02:00
2013-04-02 09:39:55 -07:00
2013-07-24 22:06:34 -07:00
2013-01-10 01:27:46 +01:00
2013-07-25 12:34:15 +02:00
2013-09-15 17:41:30 -04:00
2013-07-03 16:08:03 -07:00
2012-07-29 21:11:05 -03:00
2013-04-16 18:47:19 +09:00
2012-12-05 23:52:10 +00:00
2011-09-27 18:08:04 +02:00
2013-02-19 08:42:37 +01:00
2012-02-28 16:05:06 +01:00
2013-06-21 11:32:51 +02:00
2011-09-27 18:08:04 +02:00
2013-09-05 16:36:21 -06:00
2012-01-02 13:04:55 +01:00