projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
665a96b
)
i2c-nforce2: Remove unnecessary cast of pci_get_drvdata
author
Joe Perches
<joe@perches.com>
Mon, 10 Jan 2011 21:11:22 +0000
(22:11 +0100)
committer
Jean Delvare
<khali@endymion.delvare>
Mon, 10 Jan 2011 21:11:22 +0000
(22:11 +0100)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-nforce2.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/busses/i2c-nforce2.c
b/drivers/i2c/busses/i2c-nforce2.c
index
a605a50
..
ff1e127
100644
(file)
--- 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) {