[MTD] Fix error checking after get_mtd_device() in get_sb_mtd functions
It returns ERR_PTR(foo) on error, not just NULL.
Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
It returns ERR_PTR(foo) on error, not just NULL.
Signed-off-by:
David Woodhouse <dwmw2@infradead.org>