diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-02-26 05:51:33 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-26 05:51:33 -0500 |
commit | a84471fe269c38ea3725345c43ad64e5f489bea2 (patch) | |
tree | 0f07513cb4c072cd867292b389b50393b3ebe093 /drivers/ata/libata-sff.c | |
parent | fb621e2fde735abab854586d52c96c5624bcb5b8 (diff) |
[libata] Trim trailing whitespace.
No code changes.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r-- | drivers/ata/libata-sff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c index 7fea094e6d3a..2ffcca063d80 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
@@ -521,7 +521,7 @@ void ata_bmdma_post_internal_cmd(struct ata_queued_cmd *qc) | |||
521 | static int ata_resources_present(struct pci_dev *pdev, int port) | 521 | static int ata_resources_present(struct pci_dev *pdev, int port) |
522 | { | 522 | { |
523 | int i; | 523 | int i; |
524 | 524 | ||
525 | /* Check the PCI resources for this channel are enabled */ | 525 | /* Check the PCI resources for this channel are enabled */ |
526 | port = port * 2; | 526 | port = port * 2; |
527 | for (i = 0; i < 2; i ++) { | 527 | for (i = 0; i < 2; i ++) { |
@@ -531,7 +531,7 @@ static int ata_resources_present(struct pci_dev *pdev, int port) | |||
531 | } | 531 | } |
532 | return 1; | 532 | return 1; |
533 | } | 533 | } |
534 | 534 | ||
535 | /** | 535 | /** |
536 | * ata_pci_init_native_mode - Initialize native-mode driver | 536 | * ata_pci_init_native_mode - Initialize native-mode driver |
537 | * @pdev: pci device to be initialized | 537 | * @pdev: pci device to be initialized |
@@ -576,7 +576,7 @@ ata_pci_init_native_mode(struct pci_dev *pdev, struct ata_port_info **port, int | |||
576 | 576 | ||
577 | probe_ent->irq = pdev->irq; | 577 | probe_ent->irq = pdev->irq; |
578 | probe_ent->irq_flags = IRQF_SHARED; | 578 | probe_ent->irq_flags = IRQF_SHARED; |
579 | 579 | ||
580 | /* Discard disabled ports. Some controllers show their | 580 | /* Discard disabled ports. Some controllers show their |
581 | unused channels this way */ | 581 | unused channels this way */ |
582 | if (ata_resources_present(pdev, 0) == 0) | 582 | if (ata_resources_present(pdev, 0) == 0) |