diff options
| author | Frans Klaver <fransklaver@gmail.com> | 2015-06-10 16:38:31 -0400 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-13 15:56:22 -0400 |
| commit | 0df415598ef6551070267b1d8c9dc63f4ac00117 (patch) | |
| tree | 751ad38cbe525ba802ffb6967d3cbade89fd3b7d /drivers/mtd/maps | |
| parent | 201f230b23cb0252679038d9669af21a99f65614 (diff) | |
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) | |||
| 290 | } else { | 290 | } else { |
| 291 | info->list_size++; | 291 | info->list_size++; |
| 292 | } | 292 | } |
| 293 | info->list[i].mtd->owner = THIS_MODULE; | ||
| 294 | info->list[i].mtd->dev.parent = &dev->dev; | 293 | info->list[i].mtd->dev.parent = &dev->dev; |
| 295 | } | 294 | } |
| 296 | 295 | ||
