Commit 61344d07 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris

mtd: onenand: samsung: drop owner assignment

Owner is automatically set by mtdcore. Make use of that.
Signed-off-by: default avatarFrans Klaver <fransklaver@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 9f80f283
...@@ -864,7 +864,6 @@ static int s3c_onenand_probe(struct platform_device *pdev) ...@@ -864,7 +864,6 @@ static int s3c_onenand_probe(struct platform_device *pdev)
this = (struct onenand_chip *) &mtd[1]; this = (struct onenand_chip *) &mtd[1];
mtd->priv = this; mtd->priv = this;
mtd->dev.parent = &pdev->dev; mtd->dev.parent = &pdev->dev;
mtd->owner = THIS_MODULE;
onenand->pdev = pdev; onenand->pdev = pdev;
onenand->type = platform_get_device_id(pdev)->driver_data; onenand->type = platform_get_device_id(pdev)->driver_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment