• Bartlomiej Zolnierkiewicz's avatar
    ide_platform: remove struct hwif_prop · 04244937
    Bartlomiej Zolnierkiewicz authored
    * Remove 'if (hwif != hwif_prop.hwif)' check from plat_ide_remove()
      (pdev->dev.driver_data and hwif_prop.hwif are set at the same time
       in plat_ide_probe() and are identical).
    
    * Use hwif->index for ide_unregister() in plat_ide_remove().
    
    * Use local variables instead of hwif_prop.plat_ide[_alt]_mapbase in
      plat_ide_probe() and remove no longer needed struct hwif_prop.
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    04244937
ide_platform.c 3.4 KB