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 4b65c08d15f6b7a11460136351e4e1497fce06f5..51572895c02cc42f8d3ad0d153625c8d3e7263ee 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);