Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9c74034f authored by Artem Bityutskiy's avatar Artem Bityutskiy
Browse files

[MTD] return error code from get_mtd_device()



get_mtd_device() returns NULL in case of any failure. Teach it to return an
error code instead. Fix all users as well.

Signed-off-by: default avatarArtem Bityutskiy <dedekind@infradead.org>
parent 9fe912ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment