diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-08-23 11:51:45 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-30 22:52:48 +0200 |
commit | 8e7fd23686b49c186a15343c82a0a54c3a406234 (patch) | |
tree | cf780e9d31496743220b47e2934b303825e25a5a /drivers/mtd/sm_ftl.c | |
parent | mtd: atmel_nand: fix error return code in atmel_nand_probe() (diff) | |
download | linux-8e7fd23686b49c186a15343c82a0a54c3a406234.tar.xz linux-8e7fd23686b49c186a15343c82a0a54c3a406234.zip |
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>
Diffstat (limited to 'drivers/mtd/sm_ftl.c')
0 files changed, 0 insertions, 0 deletions