summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-10-19 03:10:11 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-23 19:53:16 -0400
commit06efcad0d43a5491602f7d7bfc1ce997cdb0d062 (patch)
tree17ad5e11fc046c4b0fd8093af161fade77635fd2 /drivers/mtd/onenand
parent5712cb3d81566893c3b14e24075cf48ec5c35d00 (diff)
downloadblackbird-op-linux-06efcad0d43a5491602f7d7bfc1ce997cdb0d062.tar.gz
blackbird-op-linux-06efcad0d43a5491602f7d7bfc1ce997cdb0d062.zip
Eliminate pointless casts from void* in a few driver irq handlers.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/onenand_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index dd2835569092..1b0b32011415 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -359,7 +359,7 @@ static int onenand_wait(struct mtd_info *mtd, int state)
*/
static irqreturn_t onenand_interrupt(int irq, void *data)
{
- struct onenand_chip *this = (struct onenand_chip *) data;
+ struct onenand_chip *this = data;
/* To handle shared interrupt */
if (!this->complete.done)
OpenPOWER on IntegriCloud