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

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
...@@ -167,7 +167,6 @@ static int physmap_flash_probe(struct platform_device *dev) ...@@ -167,7 +167,6 @@ static int physmap_flash_probe(struct platform_device *dev)
} else { } else {
devices_found++; devices_found++;
} }
info->mtd[i]->owner = THIS_MODULE;
info->mtd[i]->dev.parent = &dev->dev; info->mtd[i]->dev.parent = &dev->dev;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment