提交 56c1d3b7 编写于 作者: B Brian Norris 提交者: Jeff Garzik

pata_palmld: utilize common ata_platform_remove_one()

Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册