mtd: onenand: samsung: drop owner assignment
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:39:12 +0000 (22:39 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:41 +0000 (12:56 -0700)
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>
drivers/mtd/onenand/samsung.c

index 739259513055567114aa26649f74ef6b7d7a58c9..af0ac1a7bf8f5518ab180034f3c1eaa514bcc030 100644 (file)
@@ -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;