projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5507766
)
mtd: denali: remove calling mtd_device_unregister() after nand_release()
author
Axel Lin
<axel.lin@gmail.com>
Fri, 3 Jun 2011 01:12:15 +0000
(09:12 +0800)
committer
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Sun, 11 Sep 2011 12:01:58 +0000
(15:01 +0300)
The implementation of nand_release() already call mtd_device_unregister(),
no need to call it again.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/nand/denali.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/denali.c
b/drivers/mtd/nand/denali.c
index ee3014505af2d0946ded50f1fc53dc432a712d08..eebdfb5148e63287a0f16a4211ddd6badec382ba 100644
(file)
--- a/
drivers/mtd/nand/denali.c
+++ b/
drivers/mtd/nand/denali.c
@@
-1677,7
+1677,6
@@
static void denali_pci_remove(struct pci_dev *dev)
struct denali_nand_info *denali = pci_get_drvdata(dev);
nand_release(&denali->mtd);
- mtd_device_unregister(&denali->mtd);
denali_irq_cleanup(dev->irq, denali);