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:
0033cf0
)
mtd: nand: lpc32xx_mlc: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:52 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:40 +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/lpc32xx_mlc.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/lpc32xx_mlc.c
b/drivers/mtd/nand/lpc32xx_mlc.c
index 79c3b7801e1fc3d057b6b61598ecb09486dc7146..65b7e03a0f5b72b7622276111a7dfffe62313cbe 100644
(file)
--- a/
drivers/mtd/nand/lpc32xx_mlc.c
+++ b/
drivers/mtd/nand/lpc32xx_mlc.c
@@
-682,7
+682,6
@@
static int lpc32xx_nand_probe(struct platform_device *pdev)
nand_chip->priv = host; /* link the private data structures */
mtd->priv = nand_chip;
- mtd->owner = THIS_MODULE;
mtd->dev.parent = &pdev->dev;
/* Get NAND clock */