clk: sunxi: register clock gates with clkdev
authorChen-Yu Tsai <wens@csie.org>
Thu, 26 Jun 2014 15:55:39 +0000 (23:55 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 4 Jul 2014 10:04:55 +0000 (12:04 +0200)
commitd14e47056c726de566aa1fa8c3e7a4fd59141091
treefba39bce9260c1bef0897d5fe44fd973171d3ca2
parent7171511eaec5bf23fb06078f59784a3a0626b38f
clk: sunxi: register clock gates with clkdev

The new important clock protect code requires the clocks be
registered with clkdev. This was missing for sunxi_gates
type clocks.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sunxi.c