libata: implement ata_platform_remove_one()
authorBrian Norris <computersforpeace@gmail.com>
Fri, 2 Nov 2012 19:29:32 +0000 (12:29 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 3 Dec 2012 10:15:17 +0000 (05:15 -0500)
commitb7db04d9264fca4b00e949da7b3180c50e243fca
tree038ef53ed19ec37d4a47ab55f21bccc79843673c
parent1896b15eddb4ff7266bccf3efa981885ecf80ab1
libata: implement ata_platform_remove_one()

This relatively simple boiler-plate code is repeated in several platform
drivers. We should implement a common version in libata.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
include/linux/libata.h