projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b38be28
)
mtd: fsl_ifc_nand: Remove redundant dev_set_drvdata
author
Sachin Kamat
<sachin.kamat@linaro.org>
Tue, 8 Oct 2013 09:38:19 +0000
(15:08 +0530)
committer
Brian Norris
<computersforpeace@gmail.com>
Thu, 7 Nov 2013 07:32:49 +0000
(23:32 -0800)
Driver core will set the driver data to NULL upon detach or
probe failure.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/fsl_ifc_nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/fsl_ifc_nand.c
b/drivers/mtd/nand/fsl_ifc_nand.c
index 47acda6c4e924359301697681c00aaef83a1231c..64a30ef1421caf027ab27ce497b18b2506b01a8b 100644
(file)
--- a/
drivers/mtd/nand/fsl_ifc_nand.c
+++ b/
drivers/mtd/nand/fsl_ifc_nand.c
@@
-905,7
+905,6
@@
static int fsl_ifc_chip_remove(struct fsl_ifc_mtd *priv)
iounmap(priv->vbase);
ifc_nand_ctrl->chips[priv->bank] = NULL;
- dev_set_drvdata(priv->dev, NULL);
return 0;
}