Skip to content

Commit 54ce9aa

Browse files
committed
pmdomain: core: Convert to device_awake_path()
As device_wakeup_path() is intended to be removed, let's switch to use the device_awake_path() instead. No functional change. Acked-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Link: https://lore.kernel.org/r/20250425113942.134458-1-ulf.hansson@linaro.org
1 parent 0c1ddc7 commit 54ce9aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pmdomain/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,7 +1508,7 @@ static int genpd_finish_suspend(struct device *dev,
15081508
if (ret)
15091509
return ret;
15101510

1511-
if (device_wakeup_path(dev) && genpd_is_active_wakeup(genpd))
1511+
if (device_awake_path(dev) && genpd_is_active_wakeup(genpd))
15121512
return 0;
15131513

15141514
if (genpd->dev_ops.stop && genpd->dev_ops.start &&
@@ -1563,7 +1563,7 @@ static int genpd_finish_resume(struct device *dev,
15631563
if (IS_ERR(genpd))
15641564
return -EINVAL;
15651565

1566-
if (device_wakeup_path(dev) && genpd_is_active_wakeup(genpd))
1566+
if (device_awake_path(dev) && genpd_is_active_wakeup(genpd))
15671567
return resume_noirq(dev);
15681568

15691569
genpd_lock(genpd);

0 commit comments

Comments
 (0)