]> git.karo-electronics.de Git - linux-beck.git/commit
clk: qoriq: Fix checkpatch type ALLOC_WITH_MULTIPLY
authorEmil Medve <Emilian.Medve@Freescale.com>
Wed, 21 Jan 2015 10:03:24 +0000 (04:03 -0600)
committerMichael Turquette <mturquette@linaro.org>
Wed, 28 Jan 2015 18:11:39 +0000 (10:11 -0800)
commita92472259775340f082c221d80afd80877f41b2b
tree32e23d2e79016cb1d028ed1296a1ceac062cc5c1
parent78f4a63e6426b7496781055e51050b86081d68de
clk: qoriq: Fix checkpatch type ALLOC_WITH_MULTIPLY

WARNING:ALLOC_WITH_MULTIPLY: Prefer kcalloc over kzalloc with multiply
+       subclks = kzalloc(sizeof(struct clk *) * count, GFP_KERNEL);

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/clk-qoriq.c