mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
mtd: onenand: samsung: drop owner assignment
Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
9f80f283ab
commit
61344d074f
@ -864,7 +864,6 @@ static int s3c_onenand_probe(struct platform_device *pdev)
|
||||
this = (struct onenand_chip *) &mtd[1];
|
||||
mtd->priv = this;
|
||||
mtd->dev.parent = &pdev->dev;
|
||||
mtd->owner = THIS_MODULE;
|
||||
onenand->pdev = pdev;
|
||||
onenand->type = platform_get_device_id(pdev)->driver_data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user