]> git.baikalelectronics.ru Git - uboot.git/commit
dm: scsi: Use the uclass platform data
authorSimon Glass <sjg@chromium.org>
Thu, 15 Jun 2017 03:28:31 +0000 (21:28 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit77894ae3c1f815d6ad760030ee90e026f7e91c40
treee3095ec40a37e7e48a38cbabfa6391e7458823ae
parented7acd1a9a9a2c4137dfdaa1d61f15cdcbdcb3a4
dm: scsi: Use the uclass platform data

At present the two driver-model SCSI drivers use device platform data to
store information that relates to the uclass. It is better to use uclass
platform data in this situation. Update the code to do this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/ata/ahci.c
drivers/ata/dwc_ahci.c
drivers/ata/sata_ceva.c
drivers/scsi/scsi-uclass.c
drivers/scsi/scsi.c