clk: Remove clk_init_cb typedef

Since commit c08ee14cc6 ("clk: ti: change clock init to use
generic of_clk_init"), there is only a single (private) user left of the
(public) clk_init_cb typedef.

Hence expand its single user in the core clock code, and remove the
typedef.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1523365565-17124-1-git-send-email-geert+renesas@glider.be
此提交包含在:
Geert Uytterhoeven
2018-04-10 15:06:05 +02:00
提交者 Michael Turquette
父節點 60cc43fc88
當前提交 a597043304
共有 2 個檔案被更改,包括 1 行新增3 行删除

查看文件

@@ -3906,7 +3906,7 @@ int of_clk_parent_fill(struct device_node *np, const char **parents,
EXPORT_SYMBOL_GPL(of_clk_parent_fill);
struct clock_provider {
of_clk_init_cb_t clk_init_cb;
void (*clk_init_cb)(struct device_node *);
struct device_node *np;
struct list_head node;
};