mtd cs553x_nand: use kzalloc() instead of memset
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Aug 2013 09:51:45 +0000 (12:51 +0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 30 Aug 2013 20:52:48 +0000 (21:52 +0100)
commit8e7fd23686b49c186a15343c82a0a54c3a406234
treecf780e9d31496743220b47e2934b303825e25a5a
parentff52c67a1048fef9b381b98e17fcaca01b076190
mtd cs553x_nand: use kzalloc() instead of memset

It's cleaner to use kzalloc() instead of zeroing out in a separate call
to memset().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/cs553x_nand.c