diff options
author | 2022-06-22 20:11:47 +0300 | |
---|---|---|
committer | 2022-06-22 16:14:08 -0700 | |
commit | 62c0aff64c8d6594357b6217db019552ea664b90 (patch) | |
tree | e78535378f299c03043551b7670676eaf6bee65f /include/linux/clk-provider.h | |
parent | clk: Fix pointer casting to prevent oops in devm_clk_release() (diff) | |
download | linux-62c0aff64c8d6594357b6217db019552ea664b90.tar.gz linux-62c0aff64c8d6594357b6217db019552ea664b90.tar.bz2 linux-62c0aff64c8d6594357b6217db019552ea664b90.zip |
clk: Remove never used devm_clk_*unregister()
For the entire history of the devm_clk_*unregister() existence they were
used only once (*) in 2015. Remove them.
*) The commit 264e3b75de4e ("clk: s2mps11: Simplify s2mps11_clk_probe unwind
paths") exactly supports the point of the change proposed here.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220622171147.85603-1-andriy.shevchenko@linux.intel.com
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r-- | include/linux/clk-provider.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index c10dc4c659e2..72d937c03a3e 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -1176,10 +1176,8 @@ int __must_check devm_clk_hw_register(struct device *dev, struct clk_hw *hw); int __must_check of_clk_hw_register(struct device_node *node, struct clk_hw *hw); void clk_unregister(struct clk *clk); -void devm_clk_unregister(struct device *dev, struct clk *clk); void clk_hw_unregister(struct clk_hw *hw); -void devm_clk_hw_unregister(struct device *dev, struct clk_hw *hw); /* helper functions */ const char *__clk_get_name(const struct clk *clk); |