Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

pata_palmld: utilize common ata_platform_remove_one()

parent 156f34d2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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);