Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Frans Klaver and committed by
Brian Norris
611425d3 c4f7dc72

-1
-1
drivers/mtd/nand/sunxi_nand.c
··· 1339 1339 mtd = &chip->mtd; 1340 1340 mtd->dev.parent = dev; 1341 1341 mtd->priv = nand; 1342 - mtd->owner = THIS_MODULE; 1343 1342 1344 1343 ret = nand_scan_ident(mtd, nsels, NULL); 1345 1344 if (ret)