mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: Linus Walleij <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
0fe98fa056
commit
7c61a26891
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue