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

Commit 0df41559 authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris
Browse files

mtd: maps: physmap_of: 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 201f230b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}