aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <[email protected]>2012-02-03 16:13:23 +0000
committerDavid Woodhouse <[email protected]>2012-03-26 23:29:11 +0000
commit664addc248d2fed68d013d26ff2fc796d7134259 (patch)
tree197681f173c14068a8d634c9ab1c889fd02316cf /drivers/mtd/lpddr/lpddr_cmds.c
parentmtd: do not duplicate length and offset checks in drivers (diff)
downloadkernel-664addc248d2fed68d013d26ff2fc796d7134259.tar.gz
kernel-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 <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions