staging: ft1000: Use return value for ft1000InitProc.
authorMarek Belisko <marek.belisko@open-nandra.com>
Thu, 9 Dec 2010 15:13:49 +0000 (16:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:35:13 +0000 (16:35 -0800)
commit1c46282421c8b31b37323f7b007c4562ce17578c
treebbea6229d897b305d071709faa5bae333907afe7
parent04c6620117488c0ccc612da5f2bcbcde025e9301
staging: ft1000: Use return value for ft1000InitProc.

Add checking for return value ft1000InitProc and cleanup
if something fail.

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-usb/ft1000_usb.c