summaryrefslogtreecommitdiff
path: root/include/clk-uclass.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:35:54 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commitfb8c0d595f1ad83bee5dd398b59b0ee16d8d15a9 (patch)
tree20433c50f588b035d679ce1774c08c368a5da3aa /include/clk-uclass.h
parent093152f275e036e54d48b3d9fc0adbc1ca4cc5b0 (diff)
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>
Diffstat (limited to 'include/clk-uclass.h')
-rw-r--r--include/clk-uclass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clk-uclass.h b/include/clk-uclass.h
index e76d98e2f6..dac42dab36 100644
--- a/include/clk-uclass.h
+++ b/include/clk-uclass.h
@@ -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.
*