]> git.baikalelectronics.ru Git - uboot.git/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)
commit4a7fda2f45f6babdd36fcd57c1bf9d00b087bc36
tree7d01edd2d9e530b4f13bf635a4f7db63fbc1c52b
parent9b4fd865431775fcb51e11e43b24e51df21c125b
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