Artem Bityutskiy 327cf2922b mtd: do not use mtd->sync directly
This patch teaches 'mtd_sync()' to do nothing when the MTD driver does
not have the '->sync()' method, which allows us to remove all direct
'mtd->sync' accesses.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-01-09 18:26:21 +00:00
..
2011-05-20 12:50:29 -07:00
2012-01-09 18:26:21 +00:00
2011-11-02 12:53:43 +01:00
2010-05-07 19:38:40 +02:00
2009-11-20 20:13:39 +01:00
2010-05-10 11:56:30 +02:00
2011-10-31 17:30:47 -07:00
2009-11-20 20:13:39 +01:00
2011-11-02 12:53:43 +01:00
2010-08-09 16:48:26 -04:00