diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-02-07 00:15:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-07 08:42:24 -0800 |
commit | 0ba137e23e8d8f5cb15778b44be281c5687afc49 (patch) | |
tree | 0ee61cee68b30e114b121967ac523e288417a56d /drivers/mtd | |
parent | dbab81281d3227af3d8a04aa748c5f41befa5d43 (diff) |
dz: don't panic() when request_irq() fails
Well, panic() is a little bit undue if request_irq() fails; there is probably
no need to justify it any further. Handle the case gracefully, by
unregistering the driver.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mtd')
0 files changed, 0 insertions, 0 deletions