forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
665a96b70b
commit
b18a5c80eb
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user