clk: versatile-icst: refactor to allocate regmap separately
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Oct 2015 14:14:28 +0000 (16:14 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 15 Dec 2015 08:42:49 +0000 (09:42 +0100)
commit384d977d74f434ea089e9419fa9233fcfa18602b
tree65b8b046b4f4a4113b13d3545a50def1ec9114f5
parent179c8fb3c2a6cc86cc746e6d071be00f611328de
clk: versatile-icst: refactor to allocate regmap separately

Break out the registration function so it creates a regmap and
pass to the setup function, so the latter can be shared with
a device tree probe function that already has a regmap.

Cc: Michael Turquette <mturquette@baylibre.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: linux-clk@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/clk/versatile/clk-icst.c