diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-05-29 17:52:32 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-06-08 18:00:09 +0300 |
commit | 5617c9125bb66a923f3560d5739eb7f3a21c00b5 (patch) | |
tree | 2fbe9362907b230a0fcd1aa47405e1e0db104dbb /include/linux/clkdev.h | |
parent | 2f4574dd6dd19eb3e8ab0415a3ae960d04be3a65 (diff) | |
download | linux-5617c9125bb66a923f3560d5739eb7f3a21c00b5.tar.xz |
clkdev: remove unused clkdev_alloc() interfaces
The last user of clkdev_alloc() and clkdev_hw_alloc() was
removed last year, so everything now calls clkdev_create()
and clkdev_hw_create() instead.
Removing the unused functions lets the compiler optimize
the remaining ones slightly better.
Fixes: e5006671acc7 ("clk: versatile: Drop the legacy IM-PD1 clock code")
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/clkdev.h')
-rw-r--r-- | include/linux/clkdev.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/clkdev.h b/include/linux/clkdev.h index fd06b2780a22..8a8423eb8e9a 100644 --- a/include/linux/clkdev.h +++ b/include/linux/clkdev.h @@ -30,11 +30,6 @@ struct clk_lookup { .clk = c, \ } -struct clk_lookup *clkdev_alloc(struct clk *clk, const char *con_id, - const char *dev_fmt, ...) __printf(3, 4); -struct clk_lookup *clkdev_hw_alloc(struct clk_hw *hw, const char *con_id, - const char *dev_fmt, ...) __printf(3, 4); - void clkdev_add(struct clk_lookup *cl); void clkdev_drop(struct clk_lookup *cl); |