mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 23:21:31 +00:00
mtd: nand: sunxi_nand: 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
c4f7dc72e6
commit
611425d337
@ -1339,7 +1339,6 @@ static int sunxi_nand_chip_init(struct device *dev, struct sunxi_nfc *nfc,
|
||||
mtd = &chip->mtd;
|
||||
mtd->dev.parent = dev;
|
||||
mtd->priv = nand;
|
||||
mtd->owner = THIS_MODULE;
|
||||
|
||||
ret = nand_scan_ident(mtd, nsels, NULL);
|
||||
if (ret)
|
||||
|
Loading…
Reference in New Issue
Block a user