summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/base/power/domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/base/power/domain.c')
-rw-r--r--kernel/drivers/base/power/domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/base/power/domain.c b/kernel/drivers/base/power/domain.c
index 65f50eccd..a48824dea 100644
--- a/kernel/drivers/base/power/domain.c
+++ b/kernel/drivers/base/power/domain.c
@@ -1381,7 +1381,7 @@ int pm_genpd_remove_subdomain(struct generic_pm_domain *genpd,
mutex_lock(&genpd->lock);
- if (!list_empty(&subdomain->slave_links) || subdomain->device_count) {
+ if (!list_empty(&subdomain->master_links) || subdomain->device_count) {
pr_warn("%s: unable to remove subdomain %s\n", genpd->name,
subdomain->name);
ret = -EBUSY;