git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
i2c
/
algos
/
i2c-algo-pcf.c
diff --git
a/drivers/i2c/algos/i2c-algo-pcf.c
b/drivers/i2c/algos/i2c-algo-pcf.c
index
8d087da
..
6e498df
100644
(file)
--- a/
drivers/i2c/algos/i2c-algo-pcf.c
+++ b/
drivers/i2c/algos/i2c-algo-pcf.c
@@
-459,8
+459,6
@@
static u32 pcf_func(struct i2c_adapter *adap)
/* -----exported algorithm data: ------------------------------------- */
static struct i2c_algorithm pcf_algo = {
/* -----exported algorithm data: ------------------------------------- */
static struct i2c_algorithm pcf_algo = {
- .name = "PCF8584 algorithm",
- .id = I2C_ALGO_PCF,
.master_xfer = pcf_xfer,
.functionality = pcf_func,
};
.master_xfer = pcf_xfer,
.functionality = pcf_func,
};
@@
-476,8
+474,6
@@
int i2c_pcf_add_bus(struct i2c_adapter *adap)
DEB2(dev_dbg(&adap->dev, "hw routines registered.\n"));
/* register new adapter to i2c module... */
DEB2(dev_dbg(&adap->dev, "hw routines registered.\n"));
/* register new adapter to i2c module... */
-
- adap->id |= pcf_algo.id;
adap->algo = &pcf_algo;
adap->timeout = 100; /* default values, should */
adap->algo = &pcf_algo;
adap->timeout = 100; /* default values, should */