diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-06-29 12:15:20 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-02 10:06:03 +0200 |
commit | 029919c1ed79e409cbcdbfaf621b2077e72ccea6 (patch) | |
tree | acf0433bd2cfa139d35985ec40a3f6435e67bcd4 /drivers | |
parent | mtd: nandsim: remove casts from void (diff) | |
download | linux-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')
-rw-r--r-- | drivers/mtd/nand/r852.c | 2 |
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; |