projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2251cf1
)
[PATCH] I2C: i2c-nforce2: drop unused define
author
Jean Delvare
<khali@linux-fr.org>
Tue, 6 Sep 2005 19:23:25 +0000
(21:23 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 9 Sep 2005 21:34:21 +0000
(14:34 -0700)
One more cleanup in i2c-nforce2.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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
e0b7a91
..
fe9c0f4
100644
(file)
--- a/
drivers/i2c/busses/i2c-nforce2.c
+++ b/
drivers/i2c/busses/i2c-nforce2.c
@@
-98,11
+98,6
@@
struct nforce2_smbus {
#define NVIDIA_SMB_PRTCL_PEC 0x80
-/* Other settings */
-#define MAX_TIMEOUT 256
-
-
-
static s32 nforce2_access(struct i2c_adapter *adap, u16 addr,
unsigned short flags, char read_write,
u8 command, int size, union i2c_smbus_data *data);