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

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
...@@ -290,7 +290,6 @@ static int of_flash_probe(struct platform_device *dev) ...@@ -290,7 +290,6 @@ static int of_flash_probe(struct platform_device *dev)
} else { } else {
info->list_size++; info->list_size++;
} }
info->list[i].mtd->owner = THIS_MODULE;
info->list[i].mtd->dev.parent = &dev->dev; info->list[i].mtd->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