mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
ata: bf54x: 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
9bb9a39ce5
commit
7ed4a21ad3
1 changed files with 0 additions and 2 deletions
|
|
@ -1597,8 +1597,6 @@ static int bfin_atapi_probe(struct platform_device *pdev)
|
|||
return -ENODEV;
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, host);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue