diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-06-29 06:14:57 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-02 04:05:26 -0400 |
commit | d5af6dcffabdab199ecca0141a3a00201e948275 (patch) | |
tree | 8bbfece5cb21b5ea7aa9bcb047236f47967a087a | |
parent | 771a115a6df06c45cf783e24c3f1f08b3e9aac4c (diff) |
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>
-rw-r--r-- | drivers/mtd/nand/r852.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/r852.c b/drivers/mtd/nand/r852.c index bcfc851fe550..9c9af62b7a0c 100644 --- a/drivers/mtd/nand/r852.c +++ b/drivers/mtd/nand/r852.c | |||
@@ -64,8 +64,8 @@ static inline void r852_write_reg_dword(struct r852_device *dev, | |||
64 | /* returns pointer to our private structure */ | 64 | /* returns pointer to our private structure */ |
65 | static inline struct r852_device *r852_get_dev(struct mtd_info *mtd) | 65 | static inline struct r852_device *r852_get_dev(struct mtd_info *mtd) |
66 | { | 66 | { |
67 | struct nand_chip *chip = (struct nand_chip *)mtd->priv; | 67 | struct nand_chip *chip = mtd->priv; |
68 | return (struct r852_device *)chip->priv; | 68 | return chip->priv; |
69 | } | 69 | } |
70 | 70 | ||
71 | 71 | ||