mtd: maps: physmap_of: drop owner assignment

Owner is automatically set by mtdcore. Make use of that.

Signed-off-by: Frans Klaver <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
This commit is contained in:
Frans Klaver 2015-06-10 22:38:31 +02:00 • committed by Brian Norris
commit 0df415598e

View file

@ -290,7 +290,6 @@ static int of_flash_probe(struct platform_device *dev)
} else {
info->list_size++;
}
info->list[i].mtd->owner = THIS_MODULE;
info->list[i].mtd->dev.parent = &dev->dev;
}