From: Artem Bityutskiy Date: Fri, 3 Feb 2012 16:13:23 +0000 (+0200) Subject: mtd: remove R/O checking duplication X-Git-Tag: v3.4-rc1~16^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=664addc248d2fed68d013d26ff2fc796d7134259;p=pandora-kernel.git mtd: remove R/O checking duplication Many drivers check whether the partition is R/O and return -EROFS if yes. Let's stop having duplicated checks and move them to the API functions instead. And again a bit of noise - deleted few too sparse newlines, sorry. Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed