diff options
author | James Liao <jamesjj.liao@mediatek.com> | 2015-07-28 08:53:29 +0200 |
---|---|---|
committer | James Liao <jamesjj.liao@mediatek.com> | 2015-10-01 06:04:49 +0200 |
commit | 07d130698b8e1ecf1a72d294b5f89a26fea1ec6f (patch) | |
tree | 4b8d87a7f2b1cc3e6e91977a03dd96aefca7410f /drivers/clk/mediatek | |
parent | clk: mediatek: Removed unused dpi_ck clock from MT8173 (diff) | |
download | linux-07d130698b8e1ecf1a72d294b5f89a26fea1ec6f.tar.xz linux-07d130698b8e1ecf1a72d294b5f89a26fea1ec6f.zip |
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>
Diffstat (limited to 'drivers/clk/mediatek')
-rw-r--r-- | drivers/clk/mediatek/clk-mt8173.c | 2 | ||||
-rw-r--r-- | drivers/clk/mediatek/clk-mtk.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/clk/mediatek/clk-mt8173.c b/drivers/clk/mediatek/clk-mt8173.c index 448e5dc1acd8..63e32fdb660f 100644 --- a/drivers/clk/mediatek/clk-mt8173.c +++ b/drivers/clk/mediatek/clk-mt8173.c @@ -15,8 +15,6 @@ #include <linux/clk.h> #include <linux/of.h> #include <linux/of_address.h> -#include <linux/slab.h> -#include <linux/mfd/syscon.h> #include "clk-mtk.h" #include "clk-gate.h" diff --git a/drivers/clk/mediatek/clk-mtk.h b/drivers/clk/mediatek/clk-mtk.h index c5cbecb3d218..9f1982059cff 100644 --- a/drivers/clk/mediatek/clk-mtk.h +++ b/drivers/clk/mediatek/clk-mtk.h @@ -42,7 +42,7 @@ struct mtk_fixed_factor { .div = _div, \ } -extern void mtk_clk_register_factors(const struct mtk_fixed_factor *clks, +void mtk_clk_register_factors(const struct mtk_fixed_factor *clks, int num, struct clk_onecell_data *clk_data); struct mtk_composite { @@ -159,7 +159,7 @@ struct mtk_pll_data { const struct mtk_pll_div_table *div_table; }; -void __init mtk_clk_register_plls(struct device_node *node, +void mtk_clk_register_plls(struct device_node *node, const struct mtk_pll_data *plls, int num_plls, struct clk_onecell_data *clk_data); |