[PATCH] Char: isicom, correct probing/removing
commit1ed0c0b7306d7c93e83ebe30087a12684b280cdc
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:44:55 +0000 (10 01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:26 +0000 (11 10:51 -0800)
treea645379fd701d7188d764bc2cbdeed8e137bc0a4
parent7edc136ab688f751037a86e8a051151d7962d33f
[PATCH] Char: isicom, correct probing/removing

Don't forget to decrease card_count in fail paths and in remove function.
Also null board->base in such cases to point out, that this structure is
unused and thus can be reassigned.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/isicom.c