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

Commit 7c61a268 authored by Linus Walleij's avatar Linus Walleij Committed by Tejun Heo
Browse files

ata: samsung_cf: cut drvdata assignment



ata_host_alloc_pinfo() assigns the host pointer to the
struct device * drvdata, do not assign it a second time.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 0fe98fa0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -582,8 +582,6 @@ static int __init pata_s3c_probe(struct platform_device *pdev)
	/* Set endianness and enable the interface */
	pata_s3c_hwinit(info, pdata);

	platform_set_drvdata(pdev, host);

	ret = ata_host_activate(host, info->irq,
				info->irq ? pata_s3c_irq : NULL,
				0, &pata_s3c_sht);