Skip to content

Commit

Permalink
mtd: maps: physmap: drop owner assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frans Klaver authored and Brian Norris committed Oct 13, 2015
1 parent ab4a6b4 commit 201f230
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mtd/maps/physmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 201f230

Please sign in to comment.