projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3664565
)
mtd: nand: socrates_nand: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:39:06 +0000
(22:39 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:46 +0000
(12:56 -0700)
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>
drivers/mtd/nand/socrates_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/socrates_nand.c
b/drivers/mtd/nand/socrates_nand.c
index d71062273f558790fe255c18f11117a190b14d8d..b94f53427f0f9616ac784afae73c5a9e078ccdbf 100644
(file)
--- 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;