* [PATCH 01/25] r852: remove casts from void*
@ 2010-06-29 10:14 Kulikov Vasiliy
2010-07-13 9:57 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Kulikov Vasiliy @ 2010-06-29 10:14 UTC (permalink / raw)
To: Kernel Janitors
Cc: Randy Dunlap, Stephen Rothwell, Maxim Levitsky, linux-kernel,
linux-mtd, Tejun Heo, David Woodhouse
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
---
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 78a4232..c0a9835 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,
/* returns pointer to our private structure */
static inline struct r852_device *r852_get_dev(struct mtd_info *mtd)
{
- struct nand_chip *chip = (struct nand_chip *)mtd->priv;
- return (struct r852_device *)chip->priv;
+ struct nand_chip *chip = mtd->priv;
+ return chip->priv;
}
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 01/25] r852: remove casts from void*
2010-06-29 10:14 [PATCH 01/25] r852: remove casts from void* Kulikov Vasiliy
@ 2010-07-13 9:57 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-07-13 9:57 UTC (permalink / raw)
To: Kulikov Vasiliy
Cc: Randy Dunlap, Stephen Rothwell, Maxim Levitsky, Kernel Janitors,
linux-kernel, linux-mtd, Tejun Heo, David Woodhouse
On Tue, 2010-06-29 at 14:14 +0400, Kulikov Vasiliy wrote:
> Remove unnesessary casts from void*.
>
> Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Pushed whole series to l2-mtd-2.6.git / master.
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-13 10:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 10:14 [PATCH 01/25] r852: remove casts from void* Kulikov Vasiliy
2010-07-13 9:57 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).