mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-29 23:12:23 +00:00
mtd: maps: physmap: 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
ab4a6b4938
commit
201f230b23
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user