summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/r852.c
diff options
context:
space:
mode:
authorKulikov Vasiliy <segooon@gmail.com>2010-06-29 12:15:20 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 10:06:03 +0200
commit029919c1ed79e409cbcdbfaf621b2077e72ccea6 (patch)
treeacf0433bd2cfa139d35985ec40a3f6435e67bcd4 /drivers/mtd/nand/r852.c
parentmtd: nandsim: remove casts from void (diff)
downloadlinux-029919c1ed79e409cbcdbfaf621b2077e72ccea6.tar.xz
linux-029919c1ed79e409cbcdbfaf621b2077e72ccea6.zip
mtd: r852: 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/r852.c')
-rw-r--r--drivers/mtd/nand/r852.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c
index 9c9af62b7a0c..5169ca6a66bc 100644
--- a/drivers/mtd/nand/r852.c
+++ b/drivers/mtd/nand/r852.c
@@ -380,7 +380,7 @@ void r852_cmdctl(struct mtd_info *mtd, int dat, unsigned int ctrl)
*/
int r852_wait(struct mtd_info *mtd, struct nand_chip *chip)
{
- struct r852_device *dev = (struct r852_device *)chip->priv;
+ struct r852_device *dev = chip->priv;
unsigned long timeout;
int status;