aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/algos
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-08-11 17:40:19 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 12:14:29 -0400
commit1d8b9e1bad35fa3ea829990b9056c2a257d8fe79 (patch)
treef3bba0f4b011d3a608dae6be4f296484328b638f /drivers/i2c/algos
parent87c3d7a8bc0ff5c8d4481e509b407b6be1859925 (diff)
[PATCH] I2C: Kill i2c_algorithm.id (4/7)
There are no more users of i2c_algorithm.id, so we can finally drop this structure member. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/algos')
-rw-r--r--drivers/i2c/algos/i2c-algo-bit.c1
-rw-r--r--drivers/i2c/algos/i2c-algo-ite.c1
-rw-r--r--drivers/i2c/algos/i2c-algo-pca.c1
-rw-r--r--drivers/i2c/algos/i2c-algo-pcf.c1
-rw-r--r--drivers/i2c/algos/i2c-algo-sgi.c1
-rw-r--r--drivers/i2c/algos/i2c-algo-sibyte.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/drivers/i2c/algos/i2c-algo-bit.c b/drivers/i2c/algos/i2c-algo-bit.c
index b8767382bbac..6060b10ab0ce 100644
--- a/drivers/i2c/algos/i2c-algo-bit.c
+++ b/drivers/i2c/algos/i2c-algo-bit.c
@@ -519,7 +519,6 @@ static u32 bit_func(struct i2c_adapter *adap)
519/* -----exported algorithm data: ------------------------------------- */ 519/* -----exported algorithm data: ------------------------------------- */
520 520
521static struct i2c_algorithm i2c_bit_algo = { 521static struct i2c_algorithm i2c_bit_algo = {
522 .id = I2C_ALGO_BIT,
523 .master_xfer = bit_xfer, 522 .master_xfer = bit_xfer,
524 .functionality = bit_func, 523 .functionality = bit_func,
525}; 524};
diff --git a/drivers/i2c/algos/i2c-algo-ite.c b/drivers/i2c/algos/i2c-algo-ite.c
index 6cb02f685db3..b460e57216e1 100644
--- a/drivers/i2c/algos/i2c-algo-ite.c
+++ b/drivers/i2c/algos/i2c-algo-ite.c
@@ -713,7 +713,6 @@ static u32 iic_func(struct i2c_adapter *adap)
713/* -----exported algorithm data: ------------------------------------- */ 713/* -----exported algorithm data: ------------------------------------- */
714 714
715static struct i2c_algorithm iic_algo = { 715static struct i2c_algorithm iic_algo = {
716 .id = I2C_ALGO_IIC,
717 .master_xfer = iic_xfer, 716 .master_xfer = iic_xfer,
718 .algo_control = algo_control, /* ioctl */ 717 .algo_control = algo_control, /* ioctl */
719 .functionality = iic_func, 718 .functionality = iic_func,
diff --git a/drivers/i2c/algos/i2c-algo-pca.c b/drivers/i2c/algos/i2c-algo-pca.c
index 79b3c2edcf08..be2c8abc6682 100644
--- a/drivers/i2c/algos/i2c-algo-pca.c
+++ b/drivers/i2c/algos/i2c-algo-pca.c
@@ -356,7 +356,6 @@ static int pca_init(struct i2c_algo_pca_data *adap)
356} 356}
357 357
358static struct i2c_algorithm pca_algo = { 358static struct i2c_algorithm pca_algo = {
359 .id = I2C_ALGO_PCA,
360 .master_xfer = pca_xfer, 359 .master_xfer = pca_xfer,
361 .functionality = pca_func, 360 .functionality = pca_func,
362}; 361};
diff --git a/drivers/i2c/algos/i2c-algo-pcf.c b/drivers/i2c/algos/i2c-algo-pcf.c
index fbc0b87fe070..95f023ad8c62 100644
--- a/drivers/i2c/algos/i2c-algo-pcf.c
+++ b/drivers/i2c/algos/i2c-algo-pcf.c
@@ -459,7 +459,6 @@ static u32 pcf_func(struct i2c_adapter *adap)
459/* -----exported algorithm data: ------------------------------------- */ 459/* -----exported algorithm data: ------------------------------------- */
460 460
461static struct i2c_algorithm pcf_algo = { 461static struct i2c_algorithm pcf_algo = {
462 .id = I2C_ALGO_PCF,
463 .master_xfer = pcf_xfer, 462 .master_xfer = pcf_xfer,
464 .functionality = pcf_func, 463 .functionality = pcf_func,
465}; 464};
diff --git a/drivers/i2c/algos/i2c-algo-sgi.c b/drivers/i2c/algos/i2c-algo-sgi.c
index 8863a671d977..142505105d6f 100644
--- a/drivers/i2c/algos/i2c-algo-sgi.c
+++ b/drivers/i2c/algos/i2c-algo-sgi.c
@@ -158,7 +158,6 @@ static u32 sgi_func(struct i2c_adapter *adap)
158} 158}
159 159
160static struct i2c_algorithm sgi_algo = { 160static struct i2c_algorithm sgi_algo = {
161 .id = I2C_ALGO_SGI,
162 .master_xfer = sgi_xfer, 161 .master_xfer = sgi_xfer,
163 .functionality = sgi_func, 162 .functionality = sgi_func,
164}; 163};
diff --git a/drivers/i2c/algos/i2c-algo-sibyte.c b/drivers/i2c/algos/i2c-algo-sibyte.c
index 6cda0a6332d9..c01108ae7b69 100644
--- a/drivers/i2c/algos/i2c-algo-sibyte.c
+++ b/drivers/i2c/algos/i2c-algo-sibyte.c
@@ -135,7 +135,6 @@ static u32 bit_func(struct i2c_adapter *adap)
135/* -----exported algorithm data: ------------------------------------- */ 135/* -----exported algorithm data: ------------------------------------- */
136 136
137static struct i2c_algorithm i2c_sibyte_algo = { 137static struct i2c_algorithm i2c_sibyte_algo = {
138 .id = I2C_ALGO_SIBYTE,
139 .smbus_xfer = smbus_xfer, 138 .smbus_xfer = smbus_xfer,
140 .algo_control = algo_control, /* ioctl */ 139 .algo_control = algo_control, /* ioctl */
141 .functionality = bit_func, 140 .functionality = bit_func,