Skip to content

Commit

Permalink
mtd: maps: plat_ram: 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 0df4155 commit 7f6b5db
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mtd/maps/plat-ram.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ static int platram_probe(struct platform_device *pdev)
goto exit_free;
}

info->mtd->owner = THIS_MODULE;
info->mtd->dev.parent = &pdev->dev;

platram_setrw(info, PLATRAM_RW);
Expand Down

0 comments on commit 7f6b5db

Please sign in to comment.