clk: use kzalloc in clk_register_mux
authorShawn Guo <shawn.guo@linaro.org>
Tue, 27 Mar 2012 07:23:20 +0000 (15:23 +0800)
committerMike Turquette <mturquette@linaro.org>
Tue, 24 Apr 2012 23:37:38 +0000 (16:37 -0700)
commit10363b5838b4d5dcbf01db219f35e91aa94f24c6
tree4770275a2769aeee566ea97e1dfd549967b50921
parentd4d7e3ddc76c5ae3b4fbd15cb6f30aa78c28d788
clk: use kzalloc in clk_register_mux

Change clk_register_mux to use kzalloc, just like what all other basic
clk registration functions do.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-mux.c