mtd: maps: physmap: drop owner assignment
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri Nov 6 10:59:14 PST 2015
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=201f230b23cb0252679038d9669af21a99f65614
Commit: 201f230b23cb0252679038d9669af21a99f65614
Parent: ab4a6b4938f74f66fae187fd9e5ba5fe8a7836c6
Author: Frans Klaver <fransklaver at gmail.com>
AuthorDate: Wed Jun 10 22:38:30 2015 +0200
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Oct 13 12:56:21 2015 -0700
mtd: maps: physmap: drop owner assignment
Owner is automatically set by mtdcore. Make use of that.
Signed-off-by: Frans Klaver <fransklaver at gmail.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
drivers/mtd/maps/physmap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c
index 4305fd6..cc2adbb 100644
--- a/drivers/mtd/maps/physmap.c
+++ b/drivers/mtd/maps/physmap.c
@@ -167,7 +167,6 @@ static int physmap_flash_probe(struct platform_device *dev)
} else {
devices_found++;
}
- info->mtd[i]->owner = THIS_MODULE;
info->mtd[i]->dev.parent = &dev->dev;
}
More information about the linux-mtd-cvs
mailing list