mtd: docprobe: use kzalloc instead
commit122f81d773a464220d64f1a382bde073df281d5a
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 29 Dec 2011 09:36:19 +0000 (29 11:36 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:25:51 +0000 (9 18:25 +0000)
tree20274b156b29a730b79cb83efd6b1dcbd55418d2
parenta88d2dc672192247a6f42c82d558db9bf9258bed
mtd: docprobe: use kzalloc instead

Instead of calling 'kmalloc()' and them 'memeset(0)', use 'kzalloc()'.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/docprobe.c