]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: merge ->atapi_*put_bytes and ->ata_*put_data methods
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 28 Apr 2008 21:44:36 +0000 (23:44 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 28 Apr 2008 21:44:36 +0000 (23:44 +0200)
commit9567b349f7e7dd7e2483db99ee8e4a6fe0caca38
tree29abab829b52a451567f8da4280d101fafa44527
parent92d3ab27e8fd23d1a9dc3b69d17b2afb83e5c6f5
ide: merge ->atapi_*put_bytes and ->ata_*put_data methods

* Merge ->atapi_{in,out}put_bytes and ->ata_{in,out}put_data methods
  into new ->{in,out}put_data methods which take number of bytes to
  transfer as an argument and always do padding.

While at it:

* Use 'hwif' or 'drive->hwif' instead of 'HWIF(drive)'.

There should be no functional changes caused by this patch (all users
of ->ata_{in,out}put_data methods were using multiply-of-4 word counts).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
12 files changed:
drivers/ide/cris/ide-cris.c
drivers/ide/ide-cd.c
drivers/ide/ide-floppy.c
drivers/ide/ide-io.c
drivers/ide/ide-iops.c
drivers/ide/ide-probe.c
drivers/ide/ide-tape.c
drivers/ide/ide-taskfile.c
drivers/ide/legacy/falconide.c
drivers/ide/legacy/q40ide.c
drivers/scsi/ide-scsi.c
include/linux/ide.h