From: Artem Bityutskiy Date: Fri, 30 Dec 2011 15:00:35 +0000 (+0200) Subject: mtd: do not use mtd->lock, unlock and is_locked directly X-Git-Tag: v3.3-rc1~119^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=381345652fca688aeaa967c231e5075cf68d05b6;p=pandora-kernel.git mtd: do not use mtd->lock, unlock and is_locked directly Instead, call the corresponding MTD API function which will return '-EOPNOTSUPP' if the operation is not supported. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed