diff options
author | Sean Anderson | 2023-12-16 14:38:41 -0500 |
---|---|---|
committer | Sean Anderson | 2024-01-29 22:35:02 -0500 |
commit | 82719d3f409f93b2ce85145547c0bb91624a2c63 (patch) | |
tree | 1780fc8d4eff5137fdb2813bab9abf8b940fffda /include/clk-uclass.h | |
parent | b500447ad6aef31de75e3e9242101ae96eceb7ca (diff) |
clk: Remove rfree
Nothing uses this function. Remove it. Since clk_free no longer does
anything, just stub it out.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20231216193843.2463779-2-seanga2@gmail.com
Diffstat (limited to 'include/clk-uclass.h')
-rw-r--r-- | include/clk-uclass.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/clk-uclass.h b/include/clk-uclass.h index cd62848bece..4353b664800 100644 --- a/include/clk-uclass.h +++ b/include/clk-uclass.h @@ -18,7 +18,6 @@ struct ofnode_phandle_args; * struct clk_ops - The functions that a clock driver must implement. * @of_xlate: Translate a client's device-tree (OF) clock specifier. * @request: Request a translated clock. - * @rfree: Free a previously requested clock. * @round_rate: Adjust a rate to the exact rate a clock can provide. * @get_rate: Get current clock rate. * @set_rate: Set current clock rate. @@ -33,7 +32,6 @@ struct clk_ops { int (*of_xlate)(struct clk *clock, struct ofnode_phandle_args *args); int (*request)(struct clk *clock); - void (*rfree)(struct clk *clock); ulong (*round_rate)(struct clk *clk, ulong rate); ulong (*get_rate)(struct clk *clk); ulong (*set_rate)(struct clk *clk, ulong rate); @@ -82,14 +80,6 @@ int of_xlate(struct clk *clock, struct ofnode_phandle_args *args); int request(struct clk *clock); /** - * rfree() - Free a previously requested clock. - * @clock: The clock to free. - * - * Free any resources allocated in request(). - */ -void rfree(struct clk *clock); - -/** * round_rate() - Adjust a rate to the exact rate a clock can provide. * @clk: The clock to manipulate. * @rate: Desidered clock rate in Hz. |