mtd: nand: hisi504_nand: drop owner assignment
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:50 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:32 +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/nand/hisi504_nand.c

index 8dcc7b8fee40631680153d6fb7ca893546b1233f..6099aaa5ee409646216c6d0fd1c8cfc70c6e2897 100644 (file)
@@ -737,7 +737,6 @@ static int hisi_nfc_probe(struct platform_device *pdev)
        }
 
        mtd->priv               = chip;
-       mtd->owner              = THIS_MODULE;
        mtd->name               = "hisi_nand";
        mtd->dev.parent         = &pdev->dev;