You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
mtd: maps: plat_ram: 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:
committed by
Brian Norris
parent
0df415598e
commit
7f6b5dbfd8
@@ -210,7 +210,6 @@ static int platram_probe(struct platform_device *pdev)
|
||||
goto exit_free;
|
||||
}
|
||||
|
||||
info->mtd->owner = THIS_MODULE;
|
||||
info->mtd->dev.parent = &pdev->dev;
|
||||
|
||||
platram_setrw(info, PLATRAM_RW);
|
||||
|
||||
Reference in New Issue
Block a user