diff options
author | Frans Klaver <fransklaver@gmail.com> | 2015-06-10 23:38:31 +0300 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-13 22:56:22 +0300 |
commit | 0df415598ef6551070267b1d8c9dc63f4ac00117 (patch) | |
tree | 751ad38cbe525ba802ffb6967d3cbade89fd3b7d /drivers/mtd/maps | |
parent | 201f230b23cb0252679038d9669af21a99f65614 (diff) | |
download | linux-0df415598ef6551070267b1d8c9dc63f4ac00117.tar.xz |
mtd: maps: physmap_of: 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_of.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/maps/physmap_of.c b/drivers/mtd/maps/physmap_of.c index 3e614e9119d5..e46b4e983666 100644 --- a/drivers/mtd/maps/physmap_of.c +++ b/drivers/mtd/maps/physmap_of.c @@ -290,7 +290,6 @@ static int of_flash_probe(struct platform_device *dev) } else { info->list_size++; } - info->list[i].mtd->owner = THIS_MODULE; info->list[i].mtd->dev.parent = &dev->dev; } |