aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2008-05-19 17:56:10 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-19 17:56:10 -0400
commitc85665ffa8e351a5b38f8e4ceaec527d8783c970 (patch)
treef0698d4f5432e7cd7d23d3ae953e04b8a4c5cea3
parentae6c23c4e1ec9720b99e1e6850fe47c6c7fddbb3 (diff)
drivers/ata: trim trailing whitespace
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/ata/libata-acpi.c8
-rw-r--r--drivers/ata/pata_sl82c105.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c
index 865a552c91e..dbf6ca781f6 100644
--- a/drivers/ata/libata-acpi.c
+++ b/drivers/ata/libata-acpi.c
@@ -118,7 +118,7 @@ static void ata_acpi_associate_ide_port(struct ata_port *ap)
ap->pflags |= ATA_PFLAG_INIT_GTM_VALID;
}
-static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
+static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
*dev, u32 event)
{
char event_string[12];
@@ -130,7 +130,7 @@ static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
acpi_handle handle, tmphandle;
unsigned long sta;
acpi_status status;
-
+
if (!ap)
ap = dev->link->ap;
ehi = &ap->link.eh_info;
@@ -167,10 +167,10 @@ static void ata_acpi_handle_hotplug(struct ata_port *ap, struct ata_device
else {
struct ata_link *tlink;
struct ata_device *tdev;
-
+
ata_port_for_each_link(tlink, ap) {
ata_link_for_each_dev(tdev, tlink) {
- tdev->flags |=
+ tdev->flags |=
ATA_DFLAG_DETACH;
}
}
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c
index 70d94fb28a5..69877bd8181 100644
--- a/drivers/ata/pata_sl82c105.c
+++ b/drivers/ata/pata_sl82c105.c
@@ -216,7 +216,7 @@ static int sl82c105_qc_defer(struct ata_queued_cmd *qc)
struct ata_port *alt = host->ports[1 ^ qc->ap->port_no];
int rc;
- /* First apply the usual rules */
+ /* First apply the usual rules */
rc = ata_std_qc_defer(qc);
if (rc != 0)
return rc;