usb-storage: reorganize target-specific code
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 10 Jan 2012 18:43:40 +0000 (13:43 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 01:36:41 +0000 (17:36 -0800)
commitaf74d2dae8f85a0e90a30594beb507f5d954fa3f
treeabefa30519f9e8737eae14001337bfabdf19a44e
parent09b6b51b0b6c1b9bb61815baf205e4d74c89ff04
usb-storage: reorganize target-specific code

Now that usb-storage has a target_alloc() routine, this patch (as1508)
moves some existing target-specific code out of the slave_alloc()
routine to where it really belongs.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/scsiglue.c