]> git.baikalelectronics.ru Git - kernel.git/commit
libata: implement ata_host_detach()
authorTejun Heo <htejun@gmail.com>
Sat, 20 Jan 2007 07:00:26 +0000 (16:00 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:37 +0000 (17:39 -0500)
commitc6b4463901f923e4783cd05be9d5950b11bd9f29
tree417e2285c048ca582ba6e1f40119930c460250ad
parenteff12d5c637ae33834630bf95bdab18b23944f13
libata: implement ata_host_detach()

Implement ata_host_detach() which calls ata_port_detach() for each
port in the host and export it.  ata_port_detach() is now internal and
thus un-exported.  ata_host_detach() will be used as the 'deregister
from libata layer' function after devres conversion.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c
drivers/ata/libata-core.c
include/linux/libata.h