[libata] trivial: trim trailing whitespace for drivers/ata/*.[ch]
This commit is contained in:
parent
00dd4998a6
commit
4fca377f74
|
@ -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),
|
||||
|
|
|
@ -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) */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -151,7 +151,7 @@ static struct ata_port_operations hpt3x3_port_ops = {
|
|||
.check_atapi_dma= hpt3x3_atapi_dma,
|
||||
.freeze = hpt3x3_freeze,
|
||||
#endif
|
||||
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user