USB Elan FTDI: check for driver registration status
authorCyrill Gorcunov <gorcunov@gmail.com>
Thu, 26 Apr 2007 07:38:00 +0000 (00:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:40 +0000 (13:28 -0700)
commit893a342a686e6ce36ef24d322f3f52420a041313
tree8517bcfef656ec37b5669f40d9723b8272a59cff
parentf094e4f358c2f9f0a46dc777f64ed7794f73d283
USB Elan FTDI: check for driver registration status

Add checking of driver registration status and release allocated resources
if it failed.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Cc: "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/ftdi-elan.c