forked from Minki/linux
mtd: nand: mxc_nand: 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>
This commit is contained in:
parent
fe003bc831
commit
5c5594c92d
@ -1517,7 +1517,6 @@ static int mxcnd_probe(struct platform_device *pdev)
|
||||
this = &host->nand;
|
||||
mtd = &host->mtd;
|
||||
mtd->priv = this;
|
||||
mtd->owner = THIS_MODULE;
|
||||
mtd->dev.parent = &pdev->dev;
|
||||
mtd->name = DRIVER_NAME;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user