ahci_platform: Drop support for ahci-strict platform device type
authorHans de Goede <hdegoede@redhat.com>
Sat, 22 Feb 2014 16:22:53 +0000 (17:22 +0100)
committerTejun Heo <tj@kernel.org>
Sat, 22 Feb 2014 22:13:01 +0000 (17:13 -0500)
I've done a grep over the entire kernel tree and nothing is using this
(anymore?).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_platform.c

index fc32863d6a5afc03c1137c42a8bcb43c649b057b..d3d2bad516b47415ba339033760c97db1a23322f 100644 (file)
@@ -31,7 +31,6 @@ static void ahci_host_stop(struct ata_host *host);
 enum ahci_type {
        AHCI,           /* standard platform ahci */
        IMX53_AHCI,     /* ahci on i.mx53 */
-       STRICT_AHCI,    /* delayed DMA engine start */
 };
 
 static struct platform_device_id ahci_devtype[] = {
@@ -41,9 +40,6 @@ static struct platform_device_id ahci_devtype[] = {
        }, {
                .name = "imx53-ahci",
                .driver_data = IMX53_AHCI,
-       }, {
-               .name = "strict-ahci",
-               .driver_data = STRICT_AHCI,
        }, {
                /* sentinel */
        }
@@ -75,13 +71,6 @@ static const struct ata_port_info ahci_port_info[] = {
                .udma_mask      = ATA_UDMA6,
                .port_ops       = &ahci_platform_retry_srst_ops,
        },
-       [STRICT_AHCI] = {
-               AHCI_HFLAGS     (AHCI_HFLAG_DELAY_ENGINE),
-               .flags          = AHCI_FLAG_COMMON,
-               .pio_mask       = ATA_PIO4,
-               .udma_mask      = ATA_UDMA6,
-               .port_ops       = &ahci_platform_ops,
-       },
 };
 
 static struct scsi_host_template ahci_platform_sht = {