mtd: r852: remove casts from void
authorKulikov Vasiliy <segooon@gmail.com>
Tue, 29 Jun 2010 10:15:20 +0000 (14:15 +0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:06:03 +0000 (09:06 +0100)
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>
drivers/mtd/nand/r852.c

index 9c9af62b7a0c69fde9cbb31b66d63ec12aa3c01f..5169ca6a66bcdf55df5033c1868b17964df83888 100644 (file)
@@ -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;