mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user