]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Char: sx, fix return in module init
authorJiri Slaby <jirislaby@gmail.com>
Fri, 8 Dec 2006 10:39:06 +0000 (02:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:58 +0000 (08:28 -0800)
commit7eb9976f10354f0e3bc1a52b66b9cf857ff41088
tree8a9f9bb93a1d3bca8e33de4a7c3183c9288deece
parentc9594643c095da0a0ad4d5f0a1ff357a84e91524
[PATCH] Char: sx, fix return in module init

If pci_register_driver fails, but eisa_driver_register doesn't, we don't call
misc_deregister, but returns error.  Return OK in such cases.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/sx.c