From: Ulf Hansson Date: Fri, 25 Apr 2025 11:39:42 +0000 (+0200) Subject: pmdomain: core: Convert to device_awake_path() X-Git-Tag: v6.16-rc1~164^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54ce9aa5829fe9b7a316cb4b56ecd2e86aedd2d9;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Ulf Hansson Link: https://lore.kernel.org/r/20250425113942.134458-1-ulf.hansson@linaro.org --- diff --git a/drivers/pmdomain/core.c b/drivers/pmdomain/core.c index 3523d0331cec6..a16105b342014 100644 --- a/drivers/pmdomain/core.c +++ b/drivers/pmdomain/core.c @@ -1508,7 +1508,7 @@ static int genpd_finish_suspend(struct device *dev, if (ret) return ret; - if (device_wakeup_path(dev) && genpd_is_active_wakeup(genpd)) + if (device_awake_path(dev) && genpd_is_active_wakeup(genpd)) return 0; if (genpd->dev_ops.stop && genpd->dev_ops.start && @@ -1563,7 +1563,7 @@ static int genpd_finish_resume(struct device *dev, if (IS_ERR(genpd)) return -EINVAL; - if (device_wakeup_path(dev) && genpd_is_active_wakeup(genpd)) + if (device_awake_path(dev) && genpd_is_active_wakeup(genpd)) return resume_noirq(dev); genpd_lock(genpd);