]> git.sur5r.net Git - u-boot/commit
scsi: make the LUN a parameter of scsi_detect_dev()
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 7 Apr 2017 11:42:06 +0000 (13:42 +0200)
committerSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 01:38:57 +0000 (19:38 -0600)
commite39cecfdaf8ee6fa222a8209aa0183be978f370d
tree7d01edd2d9e530b4f13bf635a4f7db63fbc1c52b
parentfd138ca1bddc803ff1ec0da63e2c215668fecaeb
scsi: make the LUN a parameter of scsi_detect_dev()

This is a cosmetic change. target and LUN have kind of the same role in
this function. One of them was passed as a parameter and the other was
embedded in a structure. For consistency, pass both of them as parameters.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/scsi.c