summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cmd64x.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-01-20 08:00:28 +0100
committerJeff Garzik <jeff@garzik.org>2007-02-09 23:39:37 +0100
commitf0d36efdc624beb3d9e29b9ab9e9537bf0f25d5b (patch)
treeeac4efb465aa682d6eaac61f76b3174ffd9fd8cd /drivers/ata/pata_cmd64x.c
parentlibata: implement ata_host_detach() (diff)
downloadlinux-f0d36efdc624beb3d9e29b9ab9e9537bf0f25d5b.tar.xz
linux-f0d36efdc624beb3d9e29b9ab9e9537bf0f25d5b.zip
libata: update libata core layer to use devres
Update libata core layer to use devres. * ata_device_add() acquires all resources in managed mode. * ata_host is allocated as devres associated with ata_host_release. * Port attached status is handled as devres associated with ata_host_attach_release(). * Initialization failure and host removal is handedl by releasing devres group. * Except for ata_scsi_release() removal, LLD interface remains the same. Some functions use hacky is_managed test to support both managed and unmanaged devices. These will go away once all LLDs are updated to use devres. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_cmd64x.c')
0 files changed, 0 insertions, 0 deletions