Artem Bityutskiy 664addc248 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 <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:29:11 +01:00
..
2012-01-09 18:26:24 +00:00
2012-01-15 15:06:08 +02:00
2012-01-09 18:25:19 +00:00
2012-01-11 18:35:53 +02:00
2012-03-27 00:29:11 +01:00
2012-01-09 18:26:21 +00:00
2011-04-05 11:08:59 +03:00
2009-06-03 17:45:23 +03:00
2011-09-21 09:19:06 +03:00
2011-09-21 09:19:06 +03:00
2010-01-18 18:53:56 +02:00
2012-01-05 11:19:19 +02:00