mtd: maps: physmap_of: 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=0df415598ef6551070267b1d8c9dc63f4ac00117
Commit: 0df415598ef6551070267b1d8c9dc63f4ac00117
Parent: 201f230b23cb0252679038d9669af21a99f65614
Author: Frans Klaver <fransklaver at gmail.com>
AuthorDate: Wed Jun 10 22:38:31 2015 +0200
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Oct 13 12:56:22 2015 -0700
mtd: maps: physmap_of: 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_of.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c
index 3e614e9..e46b4e9 100644
--- a/drivers/mtd/maps/physmap_of.c
+++ b/drivers/mtd/maps/physmap_of.c
@@ -290,7 +290,6 @@ static int of_flash_probe(struct platform_device *dev)
} else {
info->list_size++;
}
- info->list[i].mtd->owner = THIS_MODULE;
info->list[i].mtd->dev.parent = &dev->dev;
}
More information about the linux-mtd-cvs
mailing list