diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-10-08 05:38:19 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2013-11-07 02:32:49 -0500 |
commit | bcecd39ef06ecf27233a30d516367d0be7e9145f (patch) | |
tree | b9552c169626dbfe51876bd98f0f36f3842617d0 /drivers/mtd/nand | |
parent | b38be288140c3d5317bf55439cd3d6fd6395a98e (diff) |
mtd: fsl_ifc_nand: Remove redundant dev_set_drvdata
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>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/fsl_ifc_nand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/fsl_ifc_nand.c b/drivers/mtd/nand/fsl_ifc_nand.c index 47acda6c4e92..64a30ef1421c 100644 --- 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) | |||
905 | iounmap(priv->vbase); | 905 | iounmap(priv->vbase); |
906 | 906 | ||
907 | ifc_nand_ctrl->chips[priv->bank] = NULL; | 907 | ifc_nand_ctrl->chips[priv->bank] = NULL; |
908 | dev_set_drvdata(priv->dev, NULL); | ||
909 | 908 | ||
910 | return 0; | 909 | return 0; |
911 | } | 910 | } |