Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: mediatek: Remove unused code from MT8173.

Remove unused header files from MT8173, and remove unused
keywords from function declaration.

Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>

+2 -4
-2
drivers/clk/mediatek/clk-mt8173.c
··· 15 15 #include <linux/clk.h> 16 16 #include <linux/of.h> 17 17 #include <linux/of_address.h> 18 - #include <linux/slab.h> 19 - #include <linux/mfd/syscon.h> 20 18 21 19 #include "clk-mtk.h" 22 20 #include "clk-gate.h"
+2 -2
drivers/clk/mediatek/clk-mtk.h
··· 42 42 .div = _div, \ 43 43 } 44 44 45 - extern void mtk_clk_register_factors(const struct mtk_fixed_factor *clks, 45 + void mtk_clk_register_factors(const struct mtk_fixed_factor *clks, 46 46 int num, struct clk_onecell_data *clk_data); 47 47 48 48 struct mtk_composite { ··· 159 159 const struct mtk_pll_div_table *div_table; 160 160 }; 161 161 162 - void __init mtk_clk_register_plls(struct device_node *node, 162 + void mtk_clk_register_plls(struct device_node *node, 163 163 const struct mtk_pll_data *plls, int num_plls, 164 164 struct clk_onecell_data *clk_data); 165 165