diff options
author | Joe Perches <joe@perches.com> | 2011-01-10 16:11:22 -0500 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-01-10 16:11:22 -0500 |
commit | b18a5c80eb2e7e9c72d23f1960b09d78ddf7e5b0 (patch) | |
tree | 1a86414a6d1c01666648b0b0768722fdcc16a8b1 /drivers/i2c/busses/i2c-nforce2.c | |
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-nforce2.c')
-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 a605a5029cfe..ff1e127dfea8 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_ | |||
432 | 432 | ||
433 | static void __devexit nforce2_remove(struct pci_dev *dev) | 433 | static void __devexit nforce2_remove(struct pci_dev *dev) |
434 | { | 434 | { |
435 | struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev); | 435 | struct nforce2_smbus *smbuses = pci_get_drvdata(dev); |
436 | 436 | ||
437 | nforce2_set_reference(NULL); | 437 | nforce2_set_reference(NULL); |
438 | if (smbuses[0].base) { | 438 | if (smbuses[0].base) { |