mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
reset: 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>
This commit is contained in:
@@ -51,14 +51,14 @@ struct reset_ops {
|
||||
*/
|
||||
int (*request)(struct reset_ctl *reset_ctl);
|
||||
/**
|
||||
* free - Free a previously requested reset control.
|
||||
* rfree - Free a previously requested reset control.
|
||||
*
|
||||
* This is the implementation of the client reset_free() API.
|
||||
*
|
||||
* @reset_ctl: The reset control to free.
|
||||
* @return 0 if OK, or a negative error code.
|
||||
*/
|
||||
int (*free)(struct reset_ctl *reset_ctl);
|
||||
int (*rfree)(struct reset_ctl *reset_ctl);
|
||||
/**
|
||||
* rst_assert - Assert a reset signal.
|
||||
*
|
||||
|
Reference in New Issue
Block a user