mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue