linux/include
Artem Bityutskiy dac2639f98 mtd: do not use mtd->read_oob directly
Instead of checking whether 'mtd->read_oob' is defined, just call
'mtd_read_oob()' and handle the '-EOPNOTSUPP' error which will be returned
if the function is undefined.

Additionally, make 'mtd_write_oob()' return '-EOPNOTSUPP' if the function
is undefined.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-01-09 18:26:14 +00:00
..
acpi
asm-generic
crypto
drm
keys
linux mtd: do not use mtd->read_oob directly 2012-01-09 18:26:14 +00:00
math-emu
media
misc
mtd mtd: document that MEMWRITE ioctl is NAND-specific 2012-01-09 18:18:36 +00:00
net net: relax rcvbuf limits 2011-12-23 02:15:14 -05:00
pcmcia
rdma
rxrpc
scsi
sound
target
trace
video
xen
Kbuild