diff options
author | Frans Klaver <fransklaver@gmail.com> | 2015-06-10 22:39:06 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-10-13 12:56:46 -0700 |
commit | 6031a9c5e39121165617951c4dc337fed72c7bd5 (patch) | |
tree | 140a241d61637f0650116326f8f5877e47432794 /drivers | |
parent | 36645652ad2183130dfc5d4644a69aa2102faa14 (diff) | |
download | linux-6031a9c5e39121165617951c4dc337fed72c7bd5.tar.gz linux-6031a9c5e39121165617951c4dc337fed72c7bd5.tar.bz2 linux-6031a9c5e39121165617951c4dc337fed72c7bd5.zip |
mtd: nand: socrates_nand: 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')
-rw-r--r-- | drivers/mtd/nand/socrates_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/socrates_nand.c b/drivers/mtd/nand/socrates_nand.c index d71062273f55..b94f53427f0f 100644 --- a/drivers/mtd/nand/socrates_nand.c +++ b/drivers/mtd/nand/socrates_nand.c @@ -167,7 +167,6 @@ static int socrates_nand_probe(struct platform_device *ofdev) nand_chip->priv = host; /* link the private data structures */ mtd->priv = nand_chip; mtd->name = "socrates_nand"; - mtd->owner = THIS_MODULE; mtd->dev.parent = &ofdev->dev; ppdata.of_node = ofdev->dev.of_node; |