[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5d48984b.1c69fb81.325a7.e2d9@mx.google.com>
Date: Mon, 05 Aug 2019 13:57:46 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Tri Vo <trong@...roid.com>, gregkh@...uxfoundation.org,
rjw@...ysocki.net, viresh.kumar@...aro.org
Cc: rafael@...nel.org, hridya@...gle.com, sspatil@...gle.com,
kaleshsingh@...gle.com, ravisadineni@...omium.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
kernel-team@...roid.com, Tri Vo <trong@...roid.com>
Subject: Re: [PATCH v7 2/3] PM / wakeup: Use wakeup_source_register() in wakelock.c
Quoting Tri Vo (2019-08-05 10:58:47)
> 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>
Powered by blists - more mailing lists