Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f6b5dbf authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris
Browse files

mtd: maps: plat_ram: drop owner assignment



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

Signed-off-by: default avatarFrans Klaver <fransklaver@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent 0df41559
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);