diff options
author | Artem Bityutskiy | 2012-02-03 17:13:23 +0100 |
---|---|---|
committer | David Woodhouse | 2012-03-27 01:29:11 +0200 |
commit | 664addc248d2fed68d013d26ff2fc796d7134259 (patch) | |
tree | 197681f173c14068a8d634c9ab1c889fd02316cf /drivers/cpufreq/e_powersaver.c | |
parent | mtd: do not duplicate length and offset checks in drivers (diff) | |
download | kernel-qcow2-linux-664addc248d2fed68d013d26ff2fc796d7134259.tar.gz kernel-qcow2-linux-664addc248d2fed68d013d26ff2fc796d7134259.tar.xz kernel-qcow2-linux-664addc248d2fed68d013d26ff2fc796d7134259.zip |
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>
Diffstat (limited to 'drivers/cpufreq/e_powersaver.c')
0 files changed, 0 insertions, 0 deletions