diff options
author | Joe Perches <joe@perches.com> | 2011-01-10 22:11:22 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-01-10 22:11:22 +0100 |
commit | b18a5c80eb2e7e9c72d23f1960b09d78ddf7e5b0 (patch) | |
tree | 1a86414a6d1c01666648b0b0768722fdcc16a8b1 | |
parent | 665a96b70bfccec6eab2e8d3c770e357e14294ea (diff) |
i2c-nforce2: Remove unnecessary cast of pci_get_drvdata
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r-- | drivers/i2c/busses/i2c-nforce2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c index a605a5029cf..ff1e127dfea 100644 --- a/drivers/i2c/busses/i2c-nforce2.c +++ b/drivers/i2c/busses/i2c-nforce2.c @@ -432,7 +432,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_ static void __devexit nforce2_remove(struct pci_dev *dev) { - struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev); + struct nforce2_smbus *smbuses = pci_get_drvdata(dev); nforce2_set_reference(NULL); if (smbuses[0].base) { |