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

Commit 201f230b authored by Frans Klaver's avatar Frans Klaver Committed by Brian Norris
Browse files

mtd: maps: physmap: 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 ab4a6b49
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -167,7 +167,6 @@ static int physmap_flash_probe(struct platform_device *dev)
		} else {
			devices_found++;
		}
		info->mtd[i]->owner = THIS_MODULE;
		info->mtd[i]->dev.parent = &dev->dev;
	}