Commit 56c1d3b7 authored by Brian Norris's avatar Brian Norris Committed by Jeff Garzik

pata_palmld: utilize common ata_platform_remove_one()

Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 156f34d2
......@@ -111,9 +111,7 @@ static __devinit int palmld_pata_probe(struct platform_device *pdev)
static __devexit int palmld_pata_remove(struct platform_device *dev)
{
struct ata_host *host = platform_get_drvdata(dev);
ata_host_detach(host);
ata_platform_remove_one(dev);
/* power down the HDD */
gpio_set_value(GPIO_NR_PALMLD_IDE_PWEN, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment