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

index 4305fd607015367cea988c9c8dcdbc21b1116d8d..cc2adbbcd60fe0ac0329de8893cf4b9670cac62d 100644 (file)
@@ -167,7 +167,6 @@ static int physmap_flash_probe(struct platform_device *dev)
                } else {
                        devices_found++;
                }
-               info->mtd[i]->owner = THIS_MODULE;
                info->mtd[i]->dev.parent = &dev->dev;
        }