summaryrefslogtreecommitdiff
path: root/kernel/power
diff options
context:
space:
mode:
authorTri Vo <trong@android.com>2019-08-06 18:48:44 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-08-21 00:20:29 +0200
commit0d105d0f25386ee5b74603db6d249ebed7590cbc (patch)
treea24e37a1b6f0d60495e1585bfebb6839f01dfca6 /kernel/power
parentd30bdfc0ecf885ca0495bdee522cb9d7ee005cf8 (diff)
PM / wakeup: Drop wakeup_source_init(), wakeup_source_prepare()
wakeup_source_init() has no users. Remove it. As a result, wakeup_source_prepare() is only called from wakeup_source_create(). Merge wakeup_source_prepare() into wakeup_source_create() and remove it. Change wakeup_source_create() behavior so that assigning NULL to wakeup source's name throws an error. Signed-off-by: Tri Vo <trong@android.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions