[U-Boot] [PATCH 12/29] dm: scsi: Use the uclass platform data

Bin Meng bmeng.cn at gmail.com
Tue Jun 13 03:13:35 UTC 2017


On Tue, Jun 6, 2017 at 3:14 AM, Simon Glass <sjg at chromium.org> wrote:
> 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 at chromium.org>
> ---
>
>  drivers/ata/ahci.c         | 2 +-
>  drivers/ata/dwc_ahci.c     | 3 +--
>  drivers/ata/sata_ceva.c    | 5 ++---
>  drivers/scsi/scsi-uclass.c | 1 +
>  drivers/scsi/scsi.c        | 2 +-
>  5 files changed, 6 insertions(+), 7 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list