diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2013-04-02 13:02:36 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-04-03 12:55:31 -0700 |
commit | f640c0fad698c0e4b07e05373681d3681125d6af (patch) | |
tree | d5806255d66f425eba40b29362e648aa241237b2 /drivers/clk/mvebu/clk.c | |
parent | 3566d40c1a4617461b38c82059bdc41d622faa8b (diff) |
clk: mvebu: Use common of_clk_init() function
The use common of_clk_init() function simplifies the clock initialization
and adds handling of the DT "fixed-clock".
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
[mturquette@linaro.org: fixed $SUBJECT to reflect correct file path]
Diffstat (limited to 'drivers/clk/mvebu/clk.c')
-rw-r--r-- | drivers/clk/mvebu/clk.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/clk/mvebu/clk.c b/drivers/clk/mvebu/clk.c index 855681b8a9dc..29f10fb3006c 100644 --- a/drivers/clk/mvebu/clk.c +++ b/drivers/clk/mvebu/clk.c @@ -10,18 +10,14 @@ * warranty of any kind, whether express or implied. */ #include <linux/kernel.h> -#include <linux/clk.h> #include <linux/clk-provider.h> -#include <linux/of_address.h> -#include <linux/clk/mvebu.h> #include <linux/of.h> #include "clk-core.h" -#include "clk-cpu.h" #include "clk-gating-ctrl.h" void __init mvebu_clocks_init(void) { mvebu_core_clk_init(); mvebu_gating_clk_init(); - mvebu_cpu_clk_init(); + of_clk_init(NULL); } |