[libata] trivial: trim trailing whitespace for drivers/ata/*.[ch]
authorJeff Garzik <jeff@garzik.org>
Tue, 15 Feb 2011 06:13:24 +0000 (01:13 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 2 Mar 2011 07:36:45 +0000 (02:36 -0500)
drivers/ata/ata_generic.c
drivers/ata/ata_piix.c
drivers/ata/libata-core.c
drivers/ata/libata-sff.c
drivers/ata/pata_hpt3x3.c
drivers/ata/pata_it821x.c
drivers/ata/pata_marvell.c
drivers/ata/pata_ninja32.c
drivers/ata/pata_pcmcia.c

index 6981f76..721d38b 100644 (file)
@@ -237,7 +237,7 @@ static struct pci_device_id ata_generic[] = {
 #endif
        /* Intel, IDE class device */
        { PCI_VENDOR_ID_INTEL, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
-         PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL, 
+         PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL,
          .driver_data = ATA_GEN_INTEL_IDER },
        /* Must come last. If you add entries adjust this table appropriately */
        { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL),
index 6cb14ca..cdec4ab 100644 (file)
@@ -230,7 +230,7 @@ static const struct pci_device_id piix_pci_tbl[] = {
        { 0x8086, 0x2850, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 },
 
        /* SATA ports */
-       
+
        /* 82801EB (ICH5) */
        { 0x8086, 0x24d1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_sata },
        /* 82801EB (ICH5) */
index 7d3c71a..b91e19c 100644 (file)
@@ -4210,7 +4210,7 @@ static int glob_match (const char *text, const char *pattern)
                return 0;  /* End of both strings: match */
        return 1;  /* No match */
 }
+
 static unsigned long ata_dev_blacklisted(const struct ata_device *dev)
 {
        unsigned char model_num[ATA_ID_PROD_LEN + 1];
@@ -5479,7 +5479,7 @@ struct ata_port *ata_port_alloc(struct ata_host *host)
        ap = kzalloc(sizeof(*ap), GFP_KERNEL);
        if (!ap)
                return NULL;
-       
+
        ap->pflags |= ATA_PFLAG_INITIALIZING;
        ap->lock = &host->lock;
        ap->print_id = -1;
@@ -5923,7 +5923,7 @@ int ata_port_probe(struct ata_port *ap)
 static void async_port_probe(void *data, async_cookie_t cookie)
 {
        struct ata_port *ap = data;
-       
+
        /*
         * If we're not allowed to scan this host in parallel,
         * we need to wait until all previous scans have completed
@@ -5981,7 +5981,7 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht)
        for (i = 0; i < host->n_ports; i++)
                host->ports[i]->print_id = ata_print_id++;
 
-       
+
        /* Create associated sysfs transport objects  */
        for (i = 0; i < host->n_ports; i++) {
                rc = ata_tport_add(host->dev,host->ports[i]);
@@ -6469,7 +6469,7 @@ static int __init ata_init(void)
                ata_sff_exit();
                rc = -ENOMEM;
                goto err_out;
-       }               
+       }
 
        printk(KERN_DEBUG "libata version " DRV_VERSION " loaded.\n");
        return 0;
index af6141b..e75a02d 100644 (file)
@@ -1336,7 +1336,7 @@ static void ata_sff_pio_task(struct work_struct *work)
        u8 status;
        int poll_next;
 
-       BUG_ON(ap->sff_pio_task_link == NULL); 
+       BUG_ON(ap->sff_pio_task_link == NULL);
        /* qc can be NULL if timeout occurred */
        qc = ata_qc_from_tag(ap, link->active_tag);
        if (!qc) {
index b63d5e2..24d7df8 100644 (file)
@@ -151,7 +151,7 @@ static struct ata_port_operations hpt3x3_port_ops = {
        .check_atapi_dma= hpt3x3_atapi_dma,
        .freeze         = hpt3x3_freeze,
 #endif
-       
+
 };
 
 /**
index aa0e0c5..2d15f25 100644 (file)
@@ -616,7 +616,7 @@ static void it821x_display_disk(int n, u8 *buf)
        if (buf[52] > 4)        /* No Disk */
                return;
 
-       ata_id_c_string((u16 *)buf, id, 0, 41); 
+       ata_id_c_string((u16 *)buf, id, 0, 41);
 
        if (buf[51]) {
                mode = ffs(buf[51]);
@@ -910,7 +910,7 @@ static int it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
        rc = pcim_enable_device(pdev);
        if (rc)
                return rc;
-               
+
        if (pdev->vendor == PCI_VENDOR_ID_RDC) {
                /* Deal with Vortex86SX */
                if (pdev->revision == 0x11)
index dd38083..75a6a0c 100644 (file)
@@ -38,7 +38,7 @@ static int marvell_pata_active(struct pci_dev *pdev)
 
        /* We don't yet know how to do this for other devices */
        if (pdev->device != 0x6145)
-               return 1;       
+               return 1;
 
        barp = pci_iomap(pdev, 5, 0x10);
        if (barp == NULL)
index cc50bd0..e277a14 100644 (file)
@@ -165,7 +165,7 @@ static int ninja32_reinit_one(struct pci_dev *pdev)
                return rc;
        ninja32_program(host->iomap[0]);
        ata_host_resume(host);
-       return 0;                       
+       return 0;
 }
 #endif
 
index 8062921..29af660 100644 (file)
@@ -124,7 +124,7 @@ static unsigned int ata_data_xfer_8bit(struct ata_device *dev,
  *     reset will recover the device.
  *
  */
+
 static void pcmcia_8bit_drain_fifo(struct ata_queued_cmd *qc)
 {
        int count;