summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorFrans Klaver <fransklaver@gmail.com>2015-06-10 22:39:12 +0200
committerBrian Norris <computersforpeace@gmail.com>2015-10-13 12:56:41 -0700
commit61344d074f4f924cf35aeee445568d9b7750d915 (patch)
tree5f36916aeb274ec815f7e19e6163d427e9209996 /drivers/mtd/onenand
parent9f80f283ab13c2c055d6001f255cf857be695eb4 (diff)
downloadlinux-61344d074f4f924cf35aeee445568d9b7750d915.tar.bz2
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>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/samsung.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c
index 739259513055..af0ac1a7bf8f 100644
--- a/drivers/mtd/onenand/samsung.c
+++ b/drivers/mtd/onenand/samsung.c
@@ -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;