mtd: maps: plat_ram: drop owner assignment
authorFrans Klaver <fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:32 +0000 (22:38 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:22 +0000 (12:56 -0700)
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>
drivers/mtd/maps/plat-ram.c

index 4b65c08..5157289 100644 (file)
@@ -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);