From: Frans Klaver Date: Wed, 10 Jun 2015 20:38:52 +0000 (+0200) Subject: mtd: nand: lpc32xx_mlc: drop owner assignment X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f80f283ab13c2c055d6001f255cf857be695eb4;p=linux-beck.git mtd: nand: lpc32xx_mlc: 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/lpc32xx_mlc.c b/drivers/mtd/nand/lpc32xx_mlc.c index 79c3b7801e1f..65b7e03a0f5b 100644 --- a/drivers/mtd/nand/lpc32xx_mlc.c +++ b/drivers/mtd/nand/lpc32xx_mlc.c @@ -682,7 +682,6 @@ static int lpc32xx_nand_probe(struct platform_device *pdev) nand_chip->priv = host; /* link the private data structures */ mtd->priv = nand_chip; - mtd->owner = THIS_MODULE; mtd->dev.parent = &pdev->dev; /* Get NAND clock */