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:
4dc67b1
)
mtd: nand: hisi504_nand: drop owner assignment
author
Frans Klaver
<fransklaver@gmail.com>
Wed, 10 Jun 2015 20:38:50 +0000
(22:38 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Tue, 13 Oct 2015 19:56:32 +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/hisi504_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/hisi504_nand.c
b/drivers/mtd/nand/hisi504_nand.c
index 8dcc7b8fee40631680153d6fb7ca893546b1233f..6099aaa5ee409646216c6d0fd1c8cfc70c6e2897 100644
(file)
--- a/
drivers/mtd/nand/hisi504_nand.c
+++ b/
drivers/mtd/nand/hisi504_nand.c
@@
-737,7
+737,6
@@
static int hisi_nfc_probe(struct platform_device *pdev)
}
mtd->priv = chip;
- mtd->owner = THIS_MODULE;
mtd->name = "hisi_nand";
mtd->dev.parent = &pdev->dev;