WSL2-Linux-Kernel/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 Kconfig: Remove useless and sometimes wrong comments 2009-11-09 09:40:56 +01:00
Makefile [MTD] LPDDR Makefile and KConfig 2009-01-05 13:58:47 +01:00
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