summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdoops.c
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2011-09-20 18:30:51 -0700
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-21 09:19:06 +0300
commit7387ce773256f446bdd0280b2449b635441f906e (patch)
tree571ea27188a58341ae00f32802106c5c345587c3 /drivers/mtd/mtdoops.c
parentb61bf5bbf619fc66ca866a27038da0b91cafb92d (diff)
mtd: define `mtd_is_*()' functions
These functions can be used instead of referencing -EUCLEAN and -EBADMSG all over the place. They should help make code a little bit more readable. Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
Diffstat (limited to 'drivers/mtd/mtdoops.c')
0 files changed, 0 insertions, 0 deletions