Skip to content

Commit

Permalink
mtd: r852: remove casts from void
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kulikov Vasiliy authored and David Woodhouse committed Aug 2, 2010
1 parent 7b8516b commit 029919c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/r852.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 029919c

Please sign in to comment.