mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
mtd: maps: physmap_of: drop owner assignment
Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver <fransklaver@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
201f230b23
commit
0df415598e
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user