Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[libata] trivial: trim trailing whitespace for drivers/ata/*.[ch]

authored by

Jeff Garzik and committed by
Jeff Garzik
4fca377f 00dd4998

+14 -14
+1 -1
drivers/ata/ata_generic.c
··· 237 237 #endif 238 238 /* Intel, IDE class device */ 239 239 { PCI_VENDOR_ID_INTEL, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, 240 - PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL, 240 + PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL, 241 241 .driver_data = ATA_GEN_INTEL_IDER }, 242 242 /* Must come last. If you add entries adjust this table appropriately */ 243 243 { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL),
+1 -1
drivers/ata/ata_piix.c
··· 230 230 { 0x8086, 0x2850, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 }, 231 231 232 232 /* SATA ports */ 233 - 233 + 234 234 /* 82801EB (ICH5) */ 235 235 { 0x8086, 0x24d1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_sata }, 236 236 /* 82801EB (ICH5) */
+5 -5
drivers/ata/libata-core.c
··· 4210 4210 return 0; /* End of both strings: match */ 4211 4211 return 1; /* No match */ 4212 4212 } 4213 - 4213 + 4214 4214 static unsigned long ata_dev_blacklisted(const struct ata_device *dev) 4215 4215 { 4216 4216 unsigned char model_num[ATA_ID_PROD_LEN + 1]; ··· 5479 5479 ap = kzalloc(sizeof(*ap), GFP_KERNEL); 5480 5480 if (!ap) 5481 5481 return NULL; 5482 - 5482 + 5483 5483 ap->pflags |= ATA_PFLAG_INITIALIZING; 5484 5484 ap->lock = &host->lock; 5485 5485 ap->print_id = -1; ··· 5923 5923 static void async_port_probe(void *data, async_cookie_t cookie) 5924 5924 { 5925 5925 struct ata_port *ap = data; 5926 - 5926 + 5927 5927 /* 5928 5928 * If we're not allowed to scan this host in parallel, 5929 5929 * we need to wait until all previous scans have completed ··· 5981 5981 for (i = 0; i < host->n_ports; i++) 5982 5982 host->ports[i]->print_id = ata_print_id++; 5983 5983 5984 - 5984 + 5985 5985 /* Create associated sysfs transport objects */ 5986 5986 for (i = 0; i < host->n_ports; i++) { 5987 5987 rc = ata_tport_add(host->dev,host->ports[i]); ··· 6469 6469 ata_sff_exit(); 6470 6470 rc = -ENOMEM; 6471 6471 goto err_out; 6472 - } 6472 + } 6473 6473 6474 6474 printk(KERN_DEBUG "libata version " DRV_VERSION " loaded.\n"); 6475 6475 return 0;
+1 -1
drivers/ata/libata-sff.c
··· 1336 1336 u8 status; 1337 1337 int poll_next; 1338 1338 1339 - BUG_ON(ap->sff_pio_task_link == NULL); 1339 + BUG_ON(ap->sff_pio_task_link == NULL); 1340 1340 /* qc can be NULL if timeout occurred */ 1341 1341 qc = ata_qc_from_tag(ap, link->active_tag); 1342 1342 if (!qc) {
+1 -1
drivers/ata/pata_hpt3x3.c
··· 151 151 .check_atapi_dma= hpt3x3_atapi_dma, 152 152 .freeze = hpt3x3_freeze, 153 153 #endif 154 - 154 + 155 155 }; 156 156 157 157 /**
+2 -2
drivers/ata/pata_it821x.c
··· 616 616 if (buf[52] > 4) /* No Disk */ 617 617 return; 618 618 619 - ata_id_c_string((u16 *)buf, id, 0, 41); 619 + ata_id_c_string((u16 *)buf, id, 0, 41); 620 620 621 621 if (buf[51]) { 622 622 mode = ffs(buf[51]); ··· 910 910 rc = pcim_enable_device(pdev); 911 911 if (rc) 912 912 return rc; 913 - 913 + 914 914 if (pdev->vendor == PCI_VENDOR_ID_RDC) { 915 915 /* Deal with Vortex86SX */ 916 916 if (pdev->revision == 0x11)
+1 -1
drivers/ata/pata_marvell.c
··· 38 38 39 39 /* We don't yet know how to do this for other devices */ 40 40 if (pdev->device != 0x6145) 41 - return 1; 41 + return 1; 42 42 43 43 barp = pci_iomap(pdev, 5, 0x10); 44 44 if (barp == NULL)
+1 -1
drivers/ata/pata_ninja32.c
··· 165 165 return rc; 166 166 ninja32_program(host->iomap[0]); 167 167 ata_host_resume(host); 168 - return 0; 168 + return 0; 169 169 } 170 170 #endif 171 171
+1 -1
drivers/ata/pata_pcmcia.c
··· 124 124 * reset will recover the device. 125 125 * 126 126 */ 127 - 127 + 128 128 static void pcmcia_8bit_drain_fifo(struct ata_queued_cmd *qc) 129 129 { 130 130 int count;