Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {