Skip to content
Commit 7387ce77 authored by Brian Norris's avatar Brian Norris Committed by Artem Bityutskiy
Browse files

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: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarArtem Bityutskiy <artem.bityutskiy@intel.com>
parent b61bf5bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment