Re: [PATCH] PM / wakeup: Drop wakeup_source_drop()

From: Viresh Kumar
Date: Mon Mar 11 2019 - 23:25:36 EST


On 11-03-19, 12:53, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>
> 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@xxxxxxxxx>
> ---
>
> Commit d856f39ac1cc is in the bleeding-edge branch of the linux-pm.git tree.
>
> ---
> drivers/base/power/wakeup.c | 18 +-----------------
> include/linux/pm_wakeup.h | 9 ---------
> 2 files changed, 1 insertion(+), 26 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh