]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / wakeup: Drop wakeup_source_drop()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 11 Mar 2019 11:53:59 +0000 (12:53 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Mar 2019 08:43:00 +0000 (09:43 +0100)
commit623217a0cc45a6c179303b3bbfdc594806a464cc
tree4ba5f68254786ac49d477573b3518a9a1939cd62
parent1fad17fb1bbcd73159c2b992668a6957ecc5af8a
PM / wakeup: Drop wakeup_source_drop()

After commit d856f39ac1cc ("PM / wakeup: Rework wakeup source timer
cancellation") wakeup_source_drop() is a trivial wrapper around
__pm_relax() and it has no users except for wakeup_source_destroy()
and wakeup_source_trash() which also has no users, so drop it along
with the latter and make wakeup_source_destroy() call __pm_relax()
directly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/base/power/wakeup.c
include/linux/pm_wakeup.h