diff options
author | Frans Klaver <fransklaver@gmail.com> | 2015-06-10 23:38:30 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-13 22:56:21 +0300 |
commit | 201f230b23cb0252679038d9669af21a99f65614 (patch) | |
tree | 3771ce24266b35f3ae81f9c7fe0b1c9206de237b /drivers/mtd/maps | |
parent | ab4a6b4938f74f66fae187fd9e5ba5fe8a7836c6 (diff) | |
download | linux-201f230b23cb0252679038d9669af21a99f65614.tar.xz |
mtd: maps: physmap: 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/physmap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap.c b/drivers/mtd/maps/physmap.c index 4305fd607015..cc2adbbcd60f 100644 --- a/drivers/mtd/maps/physmap.c +++ b/drivers/mtd/maps/physmap.c @@ -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; } |