mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
mtd: maps: physmap_of: drop owner assignment
Owner is automatically set by mtdcore. Make use of that. Signed-off-by: Frans Klaver <[email protected]> Signed-off-by: Brian Norris <[email protected]>
This commit is contained in:
parent
201f230b23
commit
0df415598e
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue