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:
Родитель
c4f7dc72e6
Коммит
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче