mtd: do use mtd->point directly
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 28 Dec 2011 13:55:42 +0000 (15:55 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:26:09 +0000 (18:26 +0000)
commit10934478e44d9a5a7b16dadd89094fb608cf101e
tree603d4f5165fc032a28e5efaa872da685eea7bf32
parentfc002e3c320602d0e206f607aca0460540d7637a
mtd: do use mtd->point directly

Remove direct usage of the "mtd->point" function pointer. Instead,
test the mtd_point() return code for '-EOPNOTSUPP'.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
fs/jffs2/erase.c
fs/jffs2/readinode.c
fs/jffs2/scan.c
include/linux/mtd/mtd.h