clk: sunxi: drop an unnecesary kmalloc
authorEmilio López <emilio@elopez.com.ar>
Wed, 27 Mar 2013 21:20:43 +0000 (18:20 -0300)
committerMike Turquette <mturquette@linaro.org>
Thu, 4 Apr 2013 20:53:02 +0000 (13:53 -0700)
commit918d7f6f68620e0721bb31402ebf87e15f826831
tree0ab4b3ce43ff7a89e69388ab46df3bc863198e26
parent5a4fe9b55db4ec5b6627245a91445c6495a136df
clk: sunxi: drop an unnecesary kmalloc

clk_register will copy this information, so we can just use a normal
array and do one less dynamic allocation.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/sunxi/clk-sunxi.c