Re: [PATCH v2] PM: Add dev_wakeup_path() helper

2020-11-23 Thread Rafael J. Wysocki
On Thu, Nov 19, 2020 at 8:26 AM wrote: > > From: Patrice Chotard > > Add dev_wakeup_path() helper to avoid to spread > dev->power.wakeup_path test in drivers. > > Signed-off-by: Patrice Chotard > Reviewed-by: Ulf Hansson > --- > > Changes from v1: > - Fold the 4 v1 patches into one > - Add

[PATCH v2] PM: Add dev_wakeup_path() helper

2020-11-18 Thread patrice.chotard
From: Patrice Chotard Add dev_wakeup_path() helper to avoid to spread dev->power.wakeup_path test in drivers. Signed-off-by: Patrice Chotard Reviewed-by: Ulf Hansson --- Changes from v1: - Fold the 4 v1 patches into one - Add Ulf's Reviewed-by drivers/base/power/domain.c | 4 ++--