commit | 718ea8361b15aec5f4cb559d63ba34bc5a58d8f9 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Fri Jun 01 19:21:59 2007 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Fri Jun 01 19:21:59 2007 +0100 |
tree | 53abc2197122594996aefc19868ba3630975c613 | |
parent | ea55d30798ac206c9f584ac264b6b8eb093d237a [diff] |
[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>