aboutsummaryrefslogtreecommitdiff
path: root/include
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 /include
parent82719d3f409f93b2ce85145547c0bb91624a2c63 (diff)
downloadu-boot-c9309f40a6831b1ac5cd0a7227b5c3717d34c812.zip
u-boot-c9309f40a6831b1ac5cd0a7227b5c3717d34c812.tar.gz
u-boot-c9309f40a6831b1ac5cd0a7227b5c3717d34c812.tar.bz2
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 'include')
-rw-r--r--include/clk.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/clk.h b/include/clk.h
index ea5f6bd..af23e4f 100644
--- a/include/clk.h
+++ b/include/clk.h
@@ -247,19 +247,6 @@ static inline struct clk *devm_clk_get_optional(struct udevice *dev,
*/
int clk_release_all(struct clk *clk, unsigned int count);
-/**
- * devm_clk_put - "free" a managed clock source
- * @dev: device used to acquire the clock
- * @clk: clock source acquired with devm_clk_get()
- *
- * Note: drivers must ensure that all clk_enable calls made on this
- * clock source are balanced by clk_disable calls prior to calling
- * this function.
- *
- * clk_put should not be called from within interrupt context.
- */
-void devm_clk_put(struct udevice *dev, struct clk *clk);
-
#else
static inline int clk_get_by_phandle(struct udevice *dev, const
@@ -313,10 +300,6 @@ static inline int clk_release_all(struct clk *clk, unsigned int count)
{
return -ENOSYS;
}
-
-static inline void devm_clk_put(struct udevice *dev, struct clk *clk)
-{
-}
#endif
/**
@@ -424,10 +407,6 @@ static inline int clk_release_bulk(struct clk_bulk *bulk)
return clk_release_all(bulk->clks, bulk->count);
}
-static inline void clk_free(struct clk *clk)
-{
-}
-
#if CONFIG_IS_ENABLED(CLK)
/**
* clk_request() - Request a clock by provider-specific ID.