From: Frans Klaver Date: Wed, 10 Jun 2015 20:38:50 +0000 (+0200) Subject: mtd: nand: hisi504_nand: drop owner assignment X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=52364683d5dc4beec9ba61a3fb848821b5cb66c4;p=linux-beck.git mtd: nand: hisi504_nand: drop owner assignment Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver Signed-off-by: Brian Norris --- diff --git a/drivers/mtd/nand/hisi504_nand.c b/drivers/mtd/nand/hisi504_nand.c index 8dcc7b8fee40..6099aaa5ee40 100644 --- a/drivers/mtd/nand/hisi504_nand.c +++ b/drivers/mtd/nand/hisi504_nand.c @@ -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;