Commit 4fca377f authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik

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

parent 00dd4998
...@@ -237,7 +237,7 @@ static struct pci_device_id ata_generic[] = { ...@@ -237,7 +237,7 @@ static struct pci_device_id ata_generic[] = {
#endif #endif
/* Intel, IDE class device */ /* Intel, IDE class device */
{ PCI_VENDOR_ID_INTEL, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, { 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 }, .driver_data = ATA_GEN_INTEL_IDER },
/* Must come last. If you add entries adjust this table appropriately */ /* Must come last. If you add entries adjust this table appropriately */
{ PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL), { PCI_DEVICE_CLASS(PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL),
......
...@@ -230,7 +230,7 @@ static const struct pci_device_id piix_pci_tbl[] = { ...@@ -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 }, { 0x8086, 0x2850, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich_pata_100 },
/* SATA ports */ /* SATA ports */
/* 82801EB (ICH5) */ /* 82801EB (ICH5) */
{ 0x8086, 0x24d1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_sata }, { 0x8086, 0x24d1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich5_sata },
/* 82801EB (ICH5) */ /* 82801EB (ICH5) */
......
...@@ -4210,7 +4210,7 @@ static int glob_match (const char *text, const char *pattern) ...@@ -4210,7 +4210,7 @@ static int glob_match (const char *text, const char *pattern)
return 0; /* End of both strings: match */ return 0; /* End of both strings: match */
return 1; /* No match */ return 1; /* No match */
} }
static unsigned long ata_dev_blacklisted(const struct ata_device *dev) static unsigned long ata_dev_blacklisted(const struct ata_device *dev)
{ {
unsigned char model_num[ATA_ID_PROD_LEN + 1]; unsigned char model_num[ATA_ID_PROD_LEN + 1];
...@@ -5479,7 +5479,7 @@ struct ata_port *ata_port_alloc(struct ata_host *host) ...@@ -5479,7 +5479,7 @@ struct ata_port *ata_port_alloc(struct ata_host *host)
ap = kzalloc(sizeof(*ap), GFP_KERNEL); ap = kzalloc(sizeof(*ap), GFP_KERNEL);
if (!ap) if (!ap)
return NULL; return NULL;
ap->pflags |= ATA_PFLAG_INITIALIZING; ap->pflags |= ATA_PFLAG_INITIALIZING;
ap->lock = &host->lock; ap->lock = &host->lock;
ap->print_id = -1; ap->print_id = -1;
...@@ -5923,7 +5923,7 @@ int ata_port_probe(struct ata_port *ap) ...@@ -5923,7 +5923,7 @@ int ata_port_probe(struct ata_port *ap)
static void async_port_probe(void *data, async_cookie_t cookie) static void async_port_probe(void *data, async_cookie_t cookie)
{ {
struct ata_port *ap = data; struct ata_port *ap = data;
/* /*
* If we're not allowed to scan this host in parallel, * If we're not allowed to scan this host in parallel,
* we need to wait until all previous scans have completed * 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) ...@@ -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++) for (i = 0; i < host->n_ports; i++)
host->ports[i]->print_id = ata_print_id++; host->ports[i]->print_id = ata_print_id++;
/* Create associated sysfs transport objects */ /* Create associated sysfs transport objects */
for (i = 0; i < host->n_ports; i++) { for (i = 0; i < host->n_ports; i++) {
rc = ata_tport_add(host->dev,host->ports[i]); rc = ata_tport_add(host->dev,host->ports[i]);
...@@ -6469,7 +6469,7 @@ static int __init ata_init(void) ...@@ -6469,7 +6469,7 @@ static int __init ata_init(void)
ata_sff_exit(); ata_sff_exit();
rc = -ENOMEM; rc = -ENOMEM;
goto err_out; goto err_out;
} }
printk(KERN_DEBUG "libata version " DRV_VERSION " loaded.\n"); printk(KERN_DEBUG "libata version " DRV_VERSION " loaded.\n");
return 0; return 0;
......
...@@ -1336,7 +1336,7 @@ static void ata_sff_pio_task(struct work_struct *work) ...@@ -1336,7 +1336,7 @@ static void ata_sff_pio_task(struct work_struct *work)
u8 status; u8 status;
int poll_next; 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 can be NULL if timeout occurred */
qc = ata_qc_from_tag(ap, link->active_tag); qc = ata_qc_from_tag(ap, link->active_tag);
if (!qc) { if (!qc) {
......
...@@ -151,7 +151,7 @@ static struct ata_port_operations hpt3x3_port_ops = { ...@@ -151,7 +151,7 @@ static struct ata_port_operations hpt3x3_port_ops = {
.check_atapi_dma= hpt3x3_atapi_dma, .check_atapi_dma= hpt3x3_atapi_dma,
.freeze = hpt3x3_freeze, .freeze = hpt3x3_freeze,
#endif #endif
}; };
/** /**
......
...@@ -616,7 +616,7 @@ static void it821x_display_disk(int n, u8 *buf) ...@@ -616,7 +616,7 @@ static void it821x_display_disk(int n, u8 *buf)
if (buf[52] > 4) /* No Disk */ if (buf[52] > 4) /* No Disk */
return; return;
ata_id_c_string((u16 *)buf, id, 0, 41); ata_id_c_string((u16 *)buf, id, 0, 41);
if (buf[51]) { if (buf[51]) {
mode = ffs(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) ...@@ -910,7 +910,7 @@ static int it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
rc = pcim_enable_device(pdev); rc = pcim_enable_device(pdev);
if (rc) if (rc)
return rc; return rc;
if (pdev->vendor == PCI_VENDOR_ID_RDC) { if (pdev->vendor == PCI_VENDOR_ID_RDC) {
/* Deal with Vortex86SX */ /* Deal with Vortex86SX */
if (pdev->revision == 0x11) if (pdev->revision == 0x11)
......
...@@ -38,7 +38,7 @@ static int marvell_pata_active(struct pci_dev *pdev) ...@@ -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 */ /* We don't yet know how to do this for other devices */
if (pdev->device != 0x6145) if (pdev->device != 0x6145)
return 1; return 1;
barp = pci_iomap(pdev, 5, 0x10); barp = pci_iomap(pdev, 5, 0x10);
if (barp == NULL) if (barp == NULL)
......
...@@ -165,7 +165,7 @@ static int ninja32_reinit_one(struct pci_dev *pdev) ...@@ -165,7 +165,7 @@ static int ninja32_reinit_one(struct pci_dev *pdev)
return rc; return rc;
ninja32_program(host->iomap[0]); ninja32_program(host->iomap[0]);
ata_host_resume(host); ata_host_resume(host);
return 0; return 0;
} }
#endif #endif
......
...@@ -124,7 +124,7 @@ static unsigned int ata_data_xfer_8bit(struct ata_device *dev, ...@@ -124,7 +124,7 @@ static unsigned int ata_data_xfer_8bit(struct ata_device *dev,
* reset will recover the device. * reset will recover the device.
* *
*/ */
static void pcmcia_8bit_drain_fifo(struct ata_queued_cmd *qc) static void pcmcia_8bit_drain_fifo(struct ata_queued_cmd *qc)
{ {
int count; int count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment