diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-06-29 10:15:24 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-02 08:06:10 (GMT) |
commit | ece0ac98a13a555e6d46a02225fa15934abe7a3d (patch) | |
tree | 730e04aa991842336d842fe1cf9226ef7981d2bb /drivers/mtd/nand/sm_common.c | |
parent | 029919c1ed79e409cbcdbfaf621b2077e72ccea6 (diff) | |
download | linux-fsl-qoriq-ece0ac98a13a555e6d46a02225fa15934abe7a3d.tar.xz |
mtd: sm_common: remove casts from void
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/sm_common.c')
-rw-r--r-- | drivers/mtd/nand/sm_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/sm_common.c b/drivers/mtd/nand/sm_common.c index ac80fb362..4a8f367 100644 --- a/drivers/mtd/nand/sm_common.c +++ b/drivers/mtd/nand/sm_common.c @@ -109,7 +109,7 @@ static struct nand_flash_dev nand_xd_flash_ids[] = { int sm_register_device(struct mtd_info *mtd, int smartmedia) { - struct nand_chip *chip = (struct nand_chip *)mtd->priv; + struct nand_chip *chip = mtd->priv; int ret; chip->options |= NAND_SKIP_BBTSCAN; |