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>
Showing
- drivers/ata/ahci.c 1 addition, 1 deletiondrivers/ata/ahci.c
- drivers/ata/dwc_ahci.c 1 addition, 2 deletionsdrivers/ata/dwc_ahci.c
- drivers/ata/sata_ceva.c 2 additions, 3 deletionsdrivers/ata/sata_ceva.c
- drivers/scsi/scsi-uclass.c 1 addition, 0 deletionsdrivers/scsi/scsi-uclass.c
- drivers/scsi/scsi.c 1 addition, 1 deletiondrivers/scsi/scsi.c
Loading
Please register or sign in to comment