mtd: do not use mtd->suspend and mtd->resume directly
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 30 Dec 2011 15:15:59 +0000 (17:15 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:26:23 +0000 (18:26 +0000)
commit079c985e7a6f4ce60f931cebfdd5ee3c38347e31
treeb4db3f6e38409eeaa8daff4c17b8f642d0939177
parent381345652fca688aeaa967c231e5075cf68d05b6
mtd: do not use mtd->suspend and mtd->resume directly

Just call the 'mtd_suspend()' and 'mtd_resume()' - they will do nothing
if the operation is not defined.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/physmap.c
drivers/mtd/maps/rbtx4939-flash.c
drivers/mtd/mtdcore.c
include/linux/mtd/mtd.h