pata_octeon_cf: perform host detach, removal on exit
authorBrian Norris <computersforpeace@gmail.com>
Mon, 3 Dec 2012 18:34:40 +0000 (10:34 -0800)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 3 Dec 2012 18:53:31 +0000 (13:53 -0500)
commit1d82692bd220e1f06a0d636484a75c9e25997a1f
treee8b22550c6b5dac6ac55d3297969bc2676fe1aa0
parent3dcde0aec6c87c9f1ee70be98bfd974ec4700b85
pata_octeon_cf: perform host detach, removal on exit

This driver does not detach and remove its ata_host properly on device
removal. Add the common .remove helper.

Note: I do not know this driver well enough to ensure this is the right
thing to do. Merge this patch with caution.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Tejun Heo <tj@kernel.org>
Cc: David Daney <david.daney@cavium.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_octeon_cf.c