diff options
author | David Woodhouse <dwmw2@infradead.org> | 2007-06-01 19:21:59 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-06-01 19:21:59 +0100 |
commit | 718ea8361b15aec5f4cb559d63ba34bc5a58d8f9 (patch) | |
tree | 53abc2197122594996aefc19868ba3630975c613 /drivers/leds | |
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>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions