commit | cdf96eb9759ad25e6c89ae18e445e4888ef2bb96 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Mon Apr 24 11:51:26 2017 +0200 |
committer | Simon Glass <sjg@chromium.org> | Tue May 09 12:14:16 2017 -0600 |
tree | 8c2e341954b79d0af2ddb47f45f7e6f8db380fca | |
parent | 4a2c89a51ccbd95a952be6a0b99929c1994d9d0a [diff] |
scsi: dm: split scsi_scan() The DM version of scsi_scan() is becoming a bit long, it can be split: scsi_scan() iterates over the IDs and LUNs and for each id/lun pair calls do_scsi_scan_one() to do the work of: - detecting an attached drive - creating the associated block device if a drive is found. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>