[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190807111428.GB16863@kroah.com>
Date: Wed, 7 Aug 2019 13:14:28 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Tri Vo <trong@...roid.com>
Cc: rjw@...ysocki.net, viresh.kumar@...aro.org, rafael@...nel.org,
hridya@...gle.com, sspatil@...gle.com, kaleshsingh@...gle.com,
ravisadineni@...omium.org, swboyd@...omium.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
kernel-team@...roid.com
Subject: Re: [PATCH v8 2/3] PM / wakeup: Use wakeup_source_register() in
wakelock.c
On Tue, Aug 06, 2019 at 06:48:45PM -0700, Tri Vo wrote:
> kernel/power/wakelock.c duplicates wakeup source creation and
> registration code from drivers/base/power/wakeup.c.
>
> Change struct wakelock's wakeup source to a pointer and use
> wakeup_source_register() function to create and register said wakeup
> source. Use wakeup_source_unregister() on cleanup path.
>
> Signed-off-by: Tri Vo <trong@...roid.com>
> Reviewed-by: Stephen Boyd <swboyd@...omium.org>
> ---
> kernel/power/wakelock.c | 32 +++++++++++++++++++-------------
> 1 file changed, 19 insertions(+), 13 deletions(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists