Skip to content
Commit d52063b8 authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Simon Glass
Browse files

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: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent eaa59b34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment