commit | d318eb362f4913e69e2b5c8a8453b91211833514 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Dec 16 14:38:42 2023 -0500 |
committer | Sean Anderson <seanga2@gmail.com> | Mon Jan 29 22:35:02 2024 -0500 |
tree | 2c331967b5ad82ae7ba565e4234dbfb5d8e3e048 | |
parent | 6ea5f965fd780f419e262f66cd0552e172ae8d23 [diff] [blame] |
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
diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c index 1960352..1a3e935 100644 --- a/drivers/usb/dwc3/dwc3-meson-g12a.c +++ b/drivers/usb/dwc3/dwc3-meson-g12a.c
@@ -361,10 +361,8 @@ #if CONFIG_IS_ENABLED(CLK) ret = clk_enable(&priv->clk); - if (ret) { - clk_free(&priv->clk); + if (ret) return ret; - } #endif return 0;