USB: usb-storage: fix return values from init functions
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 21 May 2009 21:37:58 +0000 (17:37 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:46 +0000 (21:44 -0700)
commitbe475d9027a07069407a19980d1a4fcb7b18b23c
tree7af3bcb99fb70d12c2c0f0b9c47e196560241eff
parent9a4b5e36ce58febdd2039dd4d129ee7edf4f5536
USB: usb-storage: fix return values from init functions

This patch (as1242) fixes the return values from the special
init functions in usb-storage.  They are supposed to return 0 for
success, not USB_STOR_TRANSPORT_GOOD.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/option_ms.c
drivers/usb/storage/sierra_ms.c