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)
commit1645bf1b51e5788a18cb6af7cfbb221ee17a6e8b
treee8b22550c6b5dac6ac55d3297969bc2676fe1aa0
parente2ec1817484d7448af2d8bf8a8acb144f87d5238
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