commit | c9309f40a6831b1ac5cd0a7227b5c3717d34c812 | [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 | 82719d3f409f93b2ce85145547c0bb91624a2c63 [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/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index fba3595..c6d50fd 100644 --- a/drivers/usb/host/ehci-atmel.c +++ b/drivers/usb/host/ehci-atmel.c
@@ -70,13 +70,7 @@ if (ret) return -EINVAL; - ret = clk_enable(&clk); - if (ret) - return ret; - - clk_free(&clk); - - return 0; + return clk_enable(&clk); } static int ehci_atmel_probe(struct udevice *dev)