Commit b18a5c80 authored by Joe Perches's avatar Joe Perches Committed by Jean Delvare

i2c-nforce2: Remove unnecessary cast of pci_get_drvdata

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 665a96b7
...@@ -432,7 +432,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_ ...@@ -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) 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); nforce2_set_reference(NULL);
if (smbuses[0].base) { if (smbuses[0].base) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment