summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps
diff options
context:
space:
mode:
authorFrans Klaver <fransklaver@gmail.com>2015-06-10 22:38:32 +0200
committerBrian Norris <computersforpeace@gmail.com>2015-10-13 12:56:22 -0700
commit7f6b5dbfd8d95c200ac0de8e5f5842369eee3839 (patch)
tree41b38d8f907c5a743dfad3f2deb3e34b26fbabb4 /drivers/mtd/maps
parent0df415598ef6551070267b1d8c9dc63f4ac00117 (diff)
downloadlinux-7f6b5dbfd8d95c200ac0de8e5f5842369eee3839.tar.bz2
mtd: maps: plat_ram: 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>
Diffstat (limited to 'drivers/mtd/maps')
-rw-r--r--drivers/mtd/maps/plat-ram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c
index 4b65c08d15f6..51572895c02c 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);