From: Chen-Yu Tsai Date: Wed, 9 Jul 2014 07:54:34 +0000 (+0800) Subject: clk: sunxi: sun6i-apb0-gates: use bitmaps for valid gate indices X-Git-Tag: omap-for-v3.17/fixes-against-rc2~188^2~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b72efd0f651271ee05835ab848eee7c4e6851c99;p=pandora-kernel.git 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 Signed-off-by: Maxime Ripard --- Reading git-diff-tree failed