]> git.sur5r.net Git - u-boot/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)
commit1dc64f6c00e89f11e3615403459207405ab0efda
treee3095ec40a37e7e48a38cbabfa6391e7458823ae
parentb9560ad649b8c523bf303cf9ba981e498988c5d9
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