diff options
| author | Sean Anderson <[email protected]> | 2023-12-16 14:38:42 -0500 |
|---|---|---|
| committer | Sean Anderson <[email protected]> | 2024-01-29 22:35:02 -0500 |
| commit | c9309f40a6831b1ac5cd0a7227b5c3717d34c812 (patch) | |
| tree | 2c331967b5ad82ae7ba565e4234dbfb5d8e3e048 /drivers/timer | |
| parent | 82719d3f409f93b2ce85145547c0bb91624a2c63 (diff) | |
treewide: Remove clk_free
This function is a no-op. Remove it.
Signed-off-by: Sean Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/timer')
| -rw-r--r-- | drivers/timer/dw-apb-timer.c | 2 | ||||
| -rw-r--r-- | drivers/timer/ostm_timer.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/timer/dw-apb-timer.c b/drivers/timer/dw-apb-timer.c index 6cd25251f94..0607f751ca7 100644 --- a/drivers/timer/dw-apb-timer.c +++ b/drivers/timer/dw-apb-timer.c @@ -74,8 +74,6 @@ static int dw_apb_timer_probe(struct udevice *dev) return ret; uc_priv->clock_rate = clk_get_rate(&clk); - - clk_free(&clk); } /* init timer */ diff --git a/drivers/timer/ostm_timer.c b/drivers/timer/ostm_timer.c index 3ec729d2c43..3bf0d4647b5 100644 --- a/drivers/timer/ostm_timer.c +++ b/drivers/timer/ostm_timer.c @@ -49,8 +49,6 @@ static int ostm_probe(struct udevice *dev) return ret; uc_priv->clock_rate = clk_get_rate(&clk); - - clk_free(&clk); #else uc_priv->clock_rate = get_board_sys_clk() / 2; #endif |
