Skip to content

Commit

Permalink
i2c-nforce2: Remove unnecessary cast of pci_get_drvdata
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
  • Loading branch information
JoePerches authored and Jean Delvare committed Jan 10, 2011
1 parent 665a96b commit b18a5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-nforce2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit b18a5c8

Please sign in to comment.