Staging: w35und: usb_put_dev() is missing from wb35_disconnect()
authorPekka Enberg <penberg@cs.helsinki.fi>
Mon, 27 Oct 2008 21:29:31 +0000 (23:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:51:44 +0000 (13:51 -0800)
commit4af12e55a5f5e8d0d6d9390a592daa789a181e36
tree3d8a2e548f98c37e089ea73f79034195f05bbdd7
parentc8b2b70b4334acbbc4daa445aa21b1fe6d337ac3
Staging: w35und: usb_put_dev() is missing from wb35_disconnect()

The wb35_probe() function does usb_get_dev() so add a missing usb_put_dev() to
the wb35_disconnect() function. Also fix error handling paths in wb35_probe()
to call usb_put_dev() as well.

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/linux/wbusb.c