mtd: lpddr: drop unnecessary zeroing
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 27 Dec 2011 15:59:04 +0000 (17:59 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:24:48 +0000 (18:24 +0000)
commitcdfe5ed0f271f1d5693fbd68809cc7e0e6c3af66
tree5eebdd21c7a74274370708e642f687ab5d33945d
parent4a42243886b87cd28a39b192161767c2af851a55
mtd: lpddr: drop unnecessary zeroing

We allocate the "mtd" structure using kzalloc which means we do not have
to initialize unused MTD function pointers to NULL, since it is safe to
assume in Linux that NULL contains all zeroes.

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