aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cs5530.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-12-11 11:14:06 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-09 17:39:29 -0500
commitf20b16ff7c19d1c369ee07470952aca093551ed0 (patch)
treec1c4aa20688be65754b73e757650c45f416bf788 /drivers/ata/pata_cs5530.c
parent155d2916d9474f81178f501664499f40833c59b2 (diff)
[libata] trim trailing whitespace
Most of these contributed by that mysterious figger known as A.C. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_cs5530.c')
-rw-r--r--drivers/ata/pata_cs5530.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c
index b1ca207e3545..611d90f0d3bc 100644
--- a/drivers/ata/pata_cs5530.c
+++ b/drivers/ata/pata_cs5530.c
@@ -247,7 +247,7 @@ static int cs5530_is_palmax(void)
247 * Perform the chip initialisation work that is shared between both 247 * Perform the chip initialisation work that is shared between both
248 * setup and resume paths 248 * setup and resume paths
249 */ 249 */
250 250
251static int cs5530_init_chip(void) 251static int cs5530_init_chip(void)
252{ 252{
253 struct pci_dev *master_0 = NULL, *cs5530_0 = NULL, *dev = NULL; 253 struct pci_dev *master_0 = NULL, *cs5530_0 = NULL, *dev = NULL;
@@ -357,11 +357,11 @@ static int cs5530_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
357 .port_ops = &cs5530_port_ops 357 .port_ops = &cs5530_port_ops
358 }; 358 };
359 static struct ata_port_info *port_info[2] = { &info, &info }; 359 static struct ata_port_info *port_info[2] = { &info, &info };
360 360
361 /* Chip initialisation */ 361 /* Chip initialisation */
362 if (cs5530_init_chip()) 362 if (cs5530_init_chip())
363 return -ENODEV; 363 return -ENODEV;
364 364
365 if (cs5530_is_palmax()) 365 if (cs5530_is_palmax())
366 port_info[1] = &info_palmax_secondary; 366 port_info[1] = &info_palmax_secondary;
367 367
@@ -376,7 +376,7 @@ static int cs5530_reinit_one(struct pci_dev *pdev)
376 BUG(); 376 BUG();
377 return ata_pci_device_resume(pdev); 377 return ata_pci_device_resume(pdev);
378} 378}
379 379
380static const struct pci_device_id cs5530[] = { 380static const struct pci_device_id cs5530[] = {
381 { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5530_IDE), }, 381 { PCI_VDEVICE(CYRIX, PCI_DEVICE_ID_CYRIX_5530_IDE), },
382 382