staging: xillybus: Use devm_kcalloc() for arrays
authorEli Billauer <eli.billauer@gmail.com>
Thu, 4 Sep 2014 14:47:40 +0000 (17:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 20:58:18 +0000 (13:58 -0700)
commit5899005f94b66a1ec3f06d299bb2625098cc9720
tree62c09947f4a9b0fbd72f6f7595b4ca1984c960eb
parent649a7d15d3ec3bc5327b8910946e2119e92425e8
staging: xillybus: Use devm_kcalloc() for arrays

Replace devm_kzalloc where it applies.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus_core.c