diff options
author | Krzysztof Halasa <khc@pm.waw.pl> | 2009-11-10 18:55:27 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-04 09:39:54 -0500 |
commit | 972b94ffb90ea6d20c589d9a47215df103388ddd (patch) | |
tree | 6e95297c4a653c0cfbd9d910f875a39450cc596f /drivers/ata/libata-sff.c | |
parent | e281d75e21ca4a876044d1dd5fa2f4336c7c43d0 (diff) |
drivers/ata/libata-sff.c: comment spelling fixes
Comment spelling fixes and whitespace adjustment.
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
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 bbbb1fab1755..d210ef2d5608 100644 --- a/drivers/ata/libata-sff.c +++ b/drivers/ata/libata-sff.c | |||
@@ -736,7 +736,7 @@ unsigned int ata_sff_data_xfer(struct ata_device *dev, unsigned char *buf, | |||
736 | 736 | ||
737 | /* | 737 | /* |
738 | * Use io*16_rep() accessors here as well to avoid pointlessly | 738 | * Use io*16_rep() accessors here as well to avoid pointlessly |
739 | * swapping bytes to and fro on the big endian machines... | 739 | * swapping bytes to and from on the big endian machines... |
740 | */ | 740 | */ |
741 | if (rw == READ) { | 741 | if (rw == READ) { |
742 | ioread16_rep(data_addr, pad, 1); | 742 | ioread16_rep(data_addr, pad, 1); |
@@ -776,7 +776,7 @@ unsigned int ata_sff_data_xfer32(struct ata_device *dev, unsigned char *buf, | |||
776 | void __iomem *data_addr = ap->ioaddr.data_addr; | 776 | void __iomem *data_addr = ap->ioaddr.data_addr; |
777 | unsigned int words = buflen >> 2; | 777 | unsigned int words = buflen >> 2; |
778 | int slop = buflen & 3; | 778 | int slop = buflen & 3; |
779 | 779 | ||
780 | if (!(ap->pflags & ATA_PFLAG_PIO32)) | 780 | if (!(ap->pflags & ATA_PFLAG_PIO32)) |
781 | return ata_sff_data_xfer(dev, buf, buflen, rw); | 781 | return ata_sff_data_xfer(dev, buf, buflen, rw); |
782 | 782 | ||
@@ -795,7 +795,7 @@ unsigned int ata_sff_data_xfer32(struct ata_device *dev, unsigned char *buf, | |||
795 | 795 | ||
796 | /* | 796 | /* |
797 | * Use io*_rep() accessors here as well to avoid pointlessly | 797 | * Use io*_rep() accessors here as well to avoid pointlessly |
798 | * swapping bytes to and fro on the big endian machines... | 798 | * swapping bytes to and from on the big endian machines... |
799 | */ | 799 | */ |
800 | if (rw == READ) { | 800 | if (rw == READ) { |
801 | if (slop < 3) | 801 | if (slop < 3) |