mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
mtd: nand: davinci_nand: drop owner and name assignment
Owner and name are 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
2f5997f13f
commit
6a44d420b5
@@ -683,9 +683,6 @@ static int nand_davinci_probe(struct platform_device *pdev)
|
||||
info->vaddr = vaddr;
|
||||
|
||||
info->mtd.priv = &info->chip;
|
||||
info->mtd.name = dev_name(&pdev->dev);
|
||||
info->mtd.owner = THIS_MODULE;
|
||||
|
||||
info->mtd.dev.parent = &pdev->dev;
|
||||
|
||||
info->chip.IO_ADDR_R = vaddr;
|
||||
|
||||
Reference in New Issue
Block a user