]> git.karo-electronics.de Git - mv-sheeva.git/commit
PM / Sleep: Add more wakeup source initialization routines
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 21 Feb 2012 22:47:56 +0000 (23:47 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Sun, 4 Mar 2012 22:08:46 +0000 (23:08 +0100)
commit8671bbc1bd0442ef0eab27f7d56216431c490820
tree23bc127d43be672ab82b9602e21825522d62a28a
parent05b4877f6a4f1ba4952d1222213d262bf8c132b7
PM / Sleep: Add more wakeup source initialization routines

The existing wakeup source initialization routines are not
particularly useful for wakeup sources that aren't created by
wakeup_source_create(), because their users have to open code
filling the objects with zeros and setting their names.  For this
reason, introduce routines that can be used for initializing, for
example, static wakeup source objects.

Requested-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/wakeup.c
include/linux/pm_wakeup.h