[libata] ATAPI pad allocation fixes/cleanup
authorJeff Garzik <jgarzik@pobox.com>
Sat, 5 Nov 2005 03:08:00 +0000 (22:08 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 5 Nov 2005 03:08:00 +0000 (22:08 -0500)
commit6037d6bbdff65eb5a84fe35e140f4da4f7cc103a
tree67b86d8559935c04a0918afd3274eef778017d57
parentc2cc87ca9561ddfe744d446789cc10f507e87db9
[libata] ATAPI pad allocation fixes/cleanup

Use ata_pad_{alloc,free} in two drivers, to factor out common code.

Add ata_pad_{alloc,free} to two other drivers, which needed the padding
but had not been updated.
drivers/scsi/ahci.c
drivers/scsi/libata-core.c
drivers/scsi/sata_mv.c
drivers/scsi/sata_sil24.c
include/linux/libata.h