mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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
This commit is contained in:
@@ -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);
|
||||
@@ -81,14 +79,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.
|
||||
|
||||
Reference in New Issue
Block a user