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
..
2012-01-09 18:25:20 +00:00
2012-01-09 18:26:19 +00:00
2012-01-09 18:25:46 +00:00
2012-01-09 18:25:56 +00:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:25:19 +00:00
2012-01-09 18:25:19 +00:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:19 +00:00
2011-09-11 15:02:13 +03:00
2012-01-09 18:26:21 +00:00
2011-09-11 15:02:14 +03:00
2012-01-09 18:26:21 +00:00
2012-01-09 18:26:08 +00:00