From: Vitaly Kuznetsov Date: Wed, 1 Jul 2015 09:31:27 +0000 (+0200) Subject: storvsc: use shost_for_each_device() instead of open coding X-Git-Tag: omap-for-v4.3/fixes-rc1~115^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d6a9f5676f0e734967ac3739f5c6a28a0b047d9;p=pandora-kernel.git storvsc: use shost_for_each_device() instead of open coding Comment in struct Scsi_Host says that drivers are not supposed to access __devices directly. storvsc_host_scan() doesn't happen in irq context so we can just use shost_for_each_device(). Signed-off-by: Vitaly Kuznetsov Reviewed-by: Long Li Acked-by: K. Y. Srinivasan Signed-off-by: James Bottomley --- Reading git-diff-tree failed