mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
mtd: maps: physmap: 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
ab4a6b4938
commit
201f230b23
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue