commit | 664addc248d2fed68d013d26ff2fc796d7134259 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | Fri Feb 03 18:13:23 2012 +0200 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Tue Mar 27 00:29:11 2012 +0100 |
tree | 197681f173c14068a8d634c9ab1c889fd02316cf | |
parent | 5def48982b778aaebe201f85af7170b7d0a6619f [diff] |
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>