diff options
author | Simon Glass <sjg@chromium.org> | 2020-02-03 07:35:51 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-05 19:33:46 -0700 |
commit | 4f51188e47921b17e6b3ce9606c8e71234c9f2df (patch) | |
tree | b7660b22df03354bb3c1c6812abf3e5f4b22da14 /drivers/power/domain/power-domain-uclass.c | |
parent | cc92c3cc68a9053f53b2814e9233d86553cc998e (diff) |
power-domain: Rename free() to rfree()
This function name conflicts with our desire to #define free() to
something else on sandbox. Since it deals with resources, rename it to
rfree().
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/power/domain/power-domain-uclass.c')
-rw-r--r-- | drivers/power/domain/power-domain-uclass.c | 2 |
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) |