mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
clk: 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:
@@ -53,14 +53,14 @@ struct clk_ops {
|
||||
*/
|
||||
int (*request)(struct clk *clock);
|
||||
/**
|
||||
* free - Free a previously requested clock.
|
||||
* rfree - Free a previously requested clock.
|
||||
*
|
||||
* This is the implementation of the client clk_free() API.
|
||||
*
|
||||
* @clock: The clock to free.
|
||||
* @return 0 if OK, or a negative error code.
|
||||
*/
|
||||
int (*free)(struct clk *clock);
|
||||
int (*rfree)(struct clk *clock);
|
||||
/**
|
||||
* get_rate() - Get current clock rate.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user