aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/dwc3-meson-g12a.c
diff options
context:
space:
mode:
authorSean Anderson2023-12-16 14:38:42 -0500
committerSean Anderson2024-01-29 22:35:02 -0500
commitc9309f40a6831b1ac5cd0a7227b5c3717d34c812 (patch)
tree2c331967b5ad82ae7ba565e4234dbfb5d8e3e048 /drivers/usb/dwc3/dwc3-meson-g12a.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/usb/dwc3/dwc3-meson-g12a.c')
-rw-r--r--drivers/usb/dwc3/dwc3-meson-g12a.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c
index 196035215a6..1a3e9350c46 100644
--- a/drivers/usb/dwc3/dwc3-meson-g12a.c
+++ b/drivers/usb/dwc3/dwc3-meson-g12a.c
@@ -361,10 +361,8 @@ static int dwc3_meson_g12a_clk_init(struct dwc3_meson_g12a *priv)
#if CONFIG_IS_ENABLED(CLK)
ret = clk_enable(&priv->clk);
- if (ret) {
- clk_free(&priv->clk);
+ if (ret)
return ret;
- }
#endif
return 0;