commit | d52063b84f422caa2aad15fc981299ffd843e910 | [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 | eaa59b3404cdcfc190810d5083c164ac18eb8ab7 [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>