projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/i2c/busses/i2c-nforce2.c
b/drivers/i2c/busses/i2c-nforce2.c
index a605a5029cfee06a085ef7150aad0da341dcc46a..ff1e127dfea8e9b100c9fa1f6e2ebfd54c6992a6 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) {