aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-02-26 05:51:33 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-26 05:51:33 -0500
commita84471fe269c38ea3725345c43ad64e5f489bea2 (patch)
tree0f07513cb4c072cd867292b389b50393b3ebe093 /drivers/ata/libata-sff.c
parentfb621e2fde735abab854586d52c96c5624bcb5b8 (diff)
downloadkernel_samsung_aries-a84471fe269c38ea3725345c43ad64e5f489bea2.zip
kernel_samsung_aries-a84471fe269c38ea3725345c43ad64e5f489bea2.tar.gz
kernel_samsung_aries-a84471fe269c38ea3725345c43ad64e5f489bea2.tar.bz2
[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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index 7fea094..2ffcca0 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)
static int ata_resources_present(struct pci_dev *pdev, int port)
{
int i;
-
+
/* Check the PCI resources for this channel are enabled */
port = port * 2;
for (i = 0; i < 2; i ++) {
@@ -531,7 +531,7 @@ static int ata_resources_present(struct pci_dev *pdev, int port)
}
return 1;
}
-
+
/**
* ata_pci_init_native_mode - Initialize native-mode driver
* @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
probe_ent->irq = pdev->irq;
probe_ent->irq_flags = IRQF_SHARED;
-
+
/* Discard disabled ports. Some controllers show their
unused channels this way */
if (ata_resources_present(pdev, 0) == 0)