mtd: maps: plat_ram: 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:32 +02:00 • committed by Brian Norris
commit 7f6b5dbfd8

View file

@ -210,7 +210,6 @@ static int platram_probe(struct platform_device *pdev)
goto exit_free;
}
info->mtd->owner = THIS_MODULE;
info->mtd->dev.parent = &pdev->dev;
platram_setrw(info, PLATRAM_RW);