SCSI: add starget_for_each_device
From: James.Smart@Emulex.Com
This patch deprecates the use of device_for_each_child() with stargets.
The reasoning behind this is due to issues regarding:
Semaphores that device_for_each_child() takes
Implicit assumptions that each child is an sdev device.
The patch adds a new helper function, starget_for_each_device(), and
replaces all previous uses of device_for_each_child().
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Showing
Please register or sign in to comment