aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
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/char
parent5712cb3d81566893c3b14e24075cf48ec5c35d00 (diff)
Eliminate pointless casts from void* in a few driver irq handlers.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/tpm/tpm_tis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index a8e808461377..fd771a4d6d18 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -381,7 +381,7 @@ static struct tpm_vendor_specific tpm_tis = {
381 381
382static irqreturn_t tis_int_probe(int irq, void *dev_id) 382static irqreturn_t tis_int_probe(int irq, void *dev_id)
383{ 383{
384 struct tpm_chip *chip = (struct tpm_chip *) dev_id; 384 struct tpm_chip *chip = dev_id;
385 u32 interrupt; 385 u32 interrupt;
386 386
387 interrupt = ioread32(chip->vendor.iobase + 387 interrupt = ioread32(chip->vendor.iobase +
@@ -401,7 +401,7 @@ static irqreturn_t tis_int_probe(int irq, void *dev_id)
401 401
402static irqreturn_t tis_int_handler(int irq, void *dev_id) 402static irqreturn_t tis_int_handler(int irq, void *dev_id)
403{ 403{
404 struct tpm_chip *chip = (struct tpm_chip *) dev_id; 404 struct tpm_chip *chip = dev_id;
405 u32 interrupt; 405 u32 interrupt;
406 int i; 406 int i;
407 407