mtd: maps: plat_ram: 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=7f6b5dbfd8d95c200ac0de8e5f5842369eee3839
Commit: 7f6b5dbfd8d95c200ac0de8e5f5842369eee3839
Parent: 0df415598ef6551070267b1d8c9dc63f4ac00117
Author: Frans Klaver <fransklaver at gmail.com>
AuthorDate: Wed Jun 10 22:38:32 2015 +0200
Committer: Brian Norris <computersforpeace at gmail.com>
CommitDate: Tue Oct 13 12:56:22 2015 -0700
mtd: maps: plat_ram: 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/plat-ram.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index 4b65c08..5157289 100644
--- a/drivers/mtd/maps/plat-ram.c
+++ b/drivers/mtd/maps/plat-ram.c
@@ -210,7 +210,6 @@ static int platram_probe(struct platform_device *pdev)
goto exit_free;
}
- info->mtd->owner = THIS_MODULE;
info->mtd->dev.parent = &pdev->dev;
platram_setrw(info, PLATRAM_RW);
More information about the linux-mtd-cvs
mailing list