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 /drivers/i2c | |
parent | 665a96b70bfccec6eab2e8d3c770e357e14294ea (diff) | |
download | linux-stable-b18a5c80eb2e7e9c72d23f1960b09d78ddf7e5b0.tar.gz linux-stable-b18a5c80eb2e7e9c72d23f1960b09d78ddf7e5b0.tar.bz2 linux-stable-b18a5c80eb2e7e9c72d23f1960b09d78ddf7e5b0.zip |
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')
-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_ 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) { |