diff options
author | 2013-10-15 09:20:52 +0200 | |
---|---|---|
committer | 2013-10-16 13:16:19 -0700 | |
commit | fa2b5ea09e48186041f68649ab8192447b31bffc (patch) | |
tree | ed4e5877d27eaa094aca79f746a774202a135a8c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | serial: pch_uart: remove reference to .set_wake() (diff) | |
download | linux-dev-fa2b5ea09e48186041f68649ab8192447b31bffc.tar.xz linux-dev-fa2b5ea09e48186041f68649ab8192447b31bffc.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions