linux/drivers/mtd/lpddr
Artem Bityutskiy bcb1d23871 mtd: move zero length verification to MTD API functions
In many places in drivers we verify for the zero length, but this is very
inconsistent across drivers. This is obviously the right thing to do, though.
This patch moves the check to the MTD API functions instead and removes a lot
of duplication.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:32:19 +01:00
..
Kconfig
Makefile
lpddr_cmds.c mtd: move zero length verification to MTD API functions 2012-03-27 00:32:19 +01:00
qinfo_probe.c drivers/mtd: Use kzalloc 2010-05-13 21:23:06 +01:00