clk: sunxi: sun6i-apb0-gates: use bitmaps for valid gate indices
authorChen-Yu Tsai <wens@csie.org>
Wed, 9 Jul 2014 07:54:34 +0000 (15:54 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 15 Jul 2014 06:52:11 +0000 (08:52 +0200)
commitb72efd0f651271ee05835ab848eee7c4e6851c99
treeb2a88aefb3d90eba77cd965be90730eeeeb9d299
parentcd6eb534fbb8c9c52e6900f6b086d8c95f966449
clk: sunxi: sun6i-apb0-gates: use bitmaps for valid gate indices

sun6i-apb0-gates uses the "clock-indices" DT property to indicate
valid gate bits or holes in between. However, the rest of sunxi
clock drivers use bitmaps for this purpose.

This patch modifies sun6i-apb0-gates to use bitmaps as well, to be
consistent with the sunxi platform. Also add the missing call to
clk_register_clkdev, so system clock lookups will work.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sun6i-apb0-gates.c
This page took 0.025698 seconds and 5 git commands to generate.