staging: ft1000: Fix proc initialization handling.
authorMarek Belisko <marek.belisko@open-nandra.com>
Thu, 9 Dec 2010 15:13:47 +0000 (16:13 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 10 Dec 2010 00:35:13 +0000 (16:35 -0800)
commit5fd866fb6401cf6a912e75e1b9c4b906bf42434e
tree1a5976f6a7a69856e15c4d2b5c6b96603e49706e
parent115884118a65c18af290476e44ca6c76a2c0a694
staging: ft1000: Fix proc initialization handling.

Cleaning proc entries when error occures was not handled correctly.
So fix and also add proper cleaning.

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_proc.c
drivers/staging/ft1000/ft1000-usb/ft1000_usb.h