[SCSI] cleanup usages of scsi_complete_async_scans
authorDan Williams <dan.j.williams@intel.com>
Tue, 10 Jul 2012 02:33:40 +0000 (19:33 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 08:25:22 +0000 (09:25 +0100)
commit492d542273a4859f8bf8cc7744cdf71ef50b39ea
tree443e4a40bcb4217e74f20af38d42141568d51f98
parent6cdd55205d160f63003c321fcea608336953dd5b
[SCSI] cleanup usages of scsi_complete_async_scans

Now that scsi registers its async scan work with the async subsystem,
wait_for_device_probe() is sufficient for ensuring all scanning is
complete.

[jejb: fix merge problems with eea03c20ae38 Make wait_for_device_probe() also do scsi_complete_async_scans()]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/base/dd.c
drivers/scsi/scsi_scan.c
include/scsi/scsi_scan.h [deleted file]