clk: sunxi: make factors_clk_setup return the clock it registers
authorEmilio López <emilio@elopez.com.ar>
Mon, 23 Dec 2013 03:32:36 +0000 (00:32 -0300)
committerEmilio López <emilio@elopez.com.ar>
Sat, 28 Dec 2013 20:08:14 +0000 (17:08 -0300)
commit5f4e0be3a72325fbc4d349a847cc9b2edd85b6d2
tree9e7527380efe41f1f97ae7ffb65ddc877da40f79
parentd838ff33ec3a6262f44476d8edc0303acdc16580
clk: sunxi: make factors_clk_setup return the clock it registers

We will be needing this to register a factor clock as parent with leaf
divisors on a single call.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Acked-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/sunxi/clk-sunxi.c