Messages in this thread | | | Subject | Re: [PATCH v7 2/3] PM / wakeup: Use wakeup_source_register() in wakelock.c | From | Stephen Boyd <> | Date | Mon, 05 Aug 2019 13:57:46 -0700 |
| |
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@android.com> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
| |