[PATCH] synclink_gt: fix init error handling
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 7 Dec 2006 04:39:06 +0000 (20:39 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:42 +0000 (08:39 -0800)
commit36499dc2bc8025bc931a0fb22bbe0ac0e46ffb14
tree25ca84cec73475cac845a9e8bfb8968d9aa4cd20
parent7b92ff01c2cd21567c3342c1c77d5e4f1a2bd699
[PATCH] synclink_gt: fix init error handling

Initialization synclink_gt forgot to unregister pci driver on error path.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/synclink_gt.c