Message ID | CA+G9fYvh7Wocueo0hb_q17xaEsnY_qLO8sFnEQG01GpK4rcwYw@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [next] arn: PM: domains: Delete usage of driver_deferred_probe_check_state() | expand |
diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c index 739e52cd4aba..3e86772d5fac 100644 --- a/drivers/base/power/domain.c +++ b/drivers/base/power/domain.c @@ -2730,7 +2730,7 @@ static int __genpd_dev_pm_attach(struct device *dev, struct device *base_dev, mutex_unlock(&gpd_list_lock); dev_dbg(dev, "%s() failed to find PM domain: %ld\n", __func__, PTR_ERR(pd)); - return driver_deferred_probe_check_state(base_dev); + return -ENODEV; }