libata: Change "write_data" to "rw" for some function documentations
authorLinus Nilsson <lajnold@acc.umu.se>
Mon, 28 Jan 2008 14:56:27 +0000 (15:56 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Jan 2008 21:48:17 +0000 (08:48 +1100)
The documentation for ata_data_xfer and ata_data_xfer_noirq had the 'rw'
parameter named 'write_data'.

Signed-off-by: Linus Nilsson <lajnold@acc.umu.se>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ata/libata-core.c

index ce803d18e96af93bc58ab51b9ed9f5d9c87b827f..bdbd55af70228ad38e646a4aa9e8bfcc1f0d0f37 100644 (file)
@@ -4924,7 +4924,7 @@ void swap_buf_le16(u16 *buf, unsigned int buf_words)
  *     @dev: device to target
  *     @buf: data buffer
  *     @buflen: buffer length
- *     @write_data: read/write
+ *     @rw: read/write
  *
  *     Transfer data from/to the device data register by PIO.
  *
@@ -4970,7 +4970,7 @@ unsigned int ata_data_xfer(struct ata_device *dev, unsigned char *buf,
  *     @dev: device to target
  *     @buf: data buffer
  *     @buflen: buffer length
- *     @write_data: read/write
+ *     @rw: read/write
  *
  *     Transfer data from/to the device data register by PIO. Do the
  *     transfer with interrupts disabled.