commit | 0ba137e23e8d8f5cb15778b44be281c5687afc49 | [log] [tgz] |
---|---|---|
author | Maciej W. Rozycki <macro@linux-mips.org> | Thu Feb 07 00:15:08 2008 -0800 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Thu Feb 07 08:42:24 2008 -0800 |
tree | 0ee61cee68b30e114b121967ac523e288417a56d | |
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>