diff options
author | Brian Norris <computersforpeace@gmail.com> | 2011-09-21 03:30:51 +0200 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | 2011-09-21 08:19:06 +0200 |
commit | 7387ce773256f446bdd0280b2449b635441f906e (patch) | |
tree | 571ea27188a58341ae00f32802106c5c345587c3 /drivers/mtd/ubi/misc.c | |
parent | mtd: nand: remove gotos in `check_create()' (diff) | |
download | linux-7387ce773256f446bdd0280b2449b635441f906e.tar.xz linux-7387ce773256f446bdd0280b2449b635441f906e.zip |
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/ubi/misc.c')
0 files changed, 0 insertions, 0 deletions