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>
This commit is contained in:
Simon Glass
2020-02-03 07:35:51 -07:00
parent cc92c3cc68
commit 4f51188e47
12 changed files with 13 additions and 13 deletions

View File

@@ -54,14 +54,14 @@ struct power_domain_ops {
*/
int (*request)(struct power_domain *power_domain);
/**
* free - Free a previously requested power domain.
* rfree - Free a previously requested power domain.
*
* This is the implementation of the client power_domain_free() API.
*
* @power_domain: The power domain to free.
* @return 0 if OK, or a negative error code.
*/
int (*free)(struct power_domain *power_domain);
int (*rfree)(struct power_domain *power_domain);
/**
* on - Power on a power domain.
*