summaryrefslogtreecommitdiff
path: root/drivers/timer/dw-apb-timer.c
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2023-12-16 14:38:42 -0500
committerSean Anderson <seanga2@gmail.com>2024-01-29 22:35:02 -0500
commitc9309f40a6831b1ac5cd0a7227b5c3717d34c812 (patch)
tree2c331967b5ad82ae7ba565e4234dbfb5d8e3e048 /drivers/timer/dw-apb-timer.c
parent82719d3f409f93b2ce85145547c0bb91624a2c63 (diff)
treewide: Remove clk_free
This function is a no-op. Remove it. Signed-off-by: Sean Anderson <seanga2@gmail.com> Link: https://lore.kernel.org/r/20231216193843.2463779-3-seanga2@gmail.com
Diffstat (limited to 'drivers/timer/dw-apb-timer.c')
-rw-r--r--drivers/timer/dw-apb-timer.c2
1 files changed, 0 insertions, 2 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 */