From: Artem Bityutskiy Date: Fri, 30 Dec 2011 14:35:35 +0000 (+0200) Subject: mtd: do not use mtd->sync directly X-Git-Tag: v3.3-rc1~119^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=327cf2922b4edf0439b219469722d2a502e37349;p=pandora-kernel.git 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 Signed-off-by: David Woodhouse --- Reading git-diff-tree failed