clk: prima2: declare OF clock provider
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 4 Sep 2013 12:21:18 +0000 (14:21 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sun, 29 Sep 2013 19:07:12 +0000 (21:07 +0200)
commit27966ffe43d412483f0823b15b8c035db04969c7
treec6446aae17aae65f22db819cfcfcddf0341f3261
parent74227e65f9742f559f6e243ba2c9a983e1f1221d
clk: prima2: declare OF clock provider

Common clock framework allows to register clock providers to get called
on of_clk_init() by using CLK_OF_DECLARE. This converts prima2 clock
provider to make use of it and get rid of the mach specific clk init
call.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Barry Song <baohua.song@csr.com>
Acked-by: Mike Turquette <mturquette@linaro.org>
arch/arm/mach-prima2/common.c
arch/arm/mach-prima2/common.h
drivers/clk/clk-prima2.c