summaryrefslogtreecommitdiff
path: root/drivers/power/domain/power-domain-uclass.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/domain/power-domain-uclass.c')
-rw-r--r--drivers/power/domain/power-domain-uclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/domain/power-domain-uclass.c b/drivers/power/domain/power-domain-uclass.c
index 80df5aff50..be0a8026f6 100644
--- a/drivers/power/domain/power-domain-uclass.c
+++ b/drivers/power/domain/power-domain-uclass.c
@@ -87,7 +87,7 @@ int power_domain_free(struct power_domain *power_domain)
debug("%s(power_domain=%p)\n", __func__, power_domain);
- return ops->free(power_domain);
+ return ops->rfree(power_domain);
}
int power_domain_on(struct power_domain *power_domain)