diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-08-11 17:33:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-05 12:14:27 -0400 |
commit | 975185880d55676b1352047e82a0cb84173c6c28 (patch) | |
tree | 613fdd41f1f967d3795144aae304ce20d3e40b19 /drivers/i2c/algos | |
parent | 4c9337da37c877e53a64696fc8524f642d446cba (diff) |
[PATCH] I2C: Kill i2c_algorithm.name (1/7)
The name member of the i2c_algorithm is never used, although all
drivers conscientiously fill it. We can drop it completely, this
structure doesn't need to have a name.
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.c | 1 | ||||
-rw-r--r-- | drivers/i2c/algos/i2c-algo-ite.c | 1 | ||||
-rw-r--r-- | drivers/i2c/algos/i2c-algo-pca.c | 1 | ||||
-rw-r--r-- | drivers/i2c/algos/i2c-algo-pcf.c | 1 | ||||
-rw-r--r-- | drivers/i2c/algos/i2c-algo-sgi.c | 1 | ||||
-rw-r--r-- | drivers/i2c/algos/i2c-algo-sibyte.c | 1 |
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 fb5b732238ed..6e1e1601accb 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 | ||
521 | static struct i2c_algorithm i2c_bit_algo = { | 521 | static struct i2c_algorithm i2c_bit_algo = { |
522 | .name = "Bit-shift algorithm", | ||
523 | .id = I2C_ALGO_BIT, | 522 | .id = I2C_ALGO_BIT, |
524 | .master_xfer = bit_xfer, | 523 | .master_xfer = bit_xfer, |
525 | .functionality = bit_func, | 524 | .functionality = bit_func, |
diff --git a/drivers/i2c/algos/i2c-algo-ite.c b/drivers/i2c/algos/i2c-algo-ite.c index e6cae39f47aa..a9c2b1115e07 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 | ||
715 | static struct i2c_algorithm iic_algo = { | 715 | static struct i2c_algorithm iic_algo = { |
716 | .name = "ITE IIC algorithm", | ||
717 | .id = I2C_ALGO_IIC, | 716 | .id = I2C_ALGO_IIC, |
718 | .master_xfer = iic_xfer, | 717 | .master_xfer = iic_xfer, |
719 | .algo_control = algo_control, /* ioctl */ | 718 | .algo_control = algo_control, /* ioctl */ |
diff --git a/drivers/i2c/algos/i2c-algo-pca.c b/drivers/i2c/algos/i2c-algo-pca.c index ff2db0da4417..16157391cdf5 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 | ||
358 | static struct i2c_algorithm pca_algo = { | 358 | static struct i2c_algorithm pca_algo = { |
359 | .name = "PCA9564 algorithm", | ||
360 | .id = I2C_ALGO_PCA, | 359 | .id = I2C_ALGO_PCA, |
361 | .master_xfer = pca_xfer, | 360 | .master_xfer = pca_xfer, |
362 | .functionality = pca_func, | 361 | .functionality = pca_func, |
diff --git a/drivers/i2c/algos/i2c-algo-pcf.c b/drivers/i2c/algos/i2c-algo-pcf.c index 8d087dac32af..eb3e9e39d75b 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 | ||
461 | static struct i2c_algorithm pcf_algo = { | 461 | static struct i2c_algorithm pcf_algo = { |
462 | .name = "PCF8584 algorithm", | ||
463 | .id = I2C_ALGO_PCF, | 462 | .id = I2C_ALGO_PCF, |
464 | .master_xfer = pcf_xfer, | 463 | .master_xfer = pcf_xfer, |
465 | .functionality = pcf_func, | 464 | .functionality = pcf_func, |
diff --git a/drivers/i2c/algos/i2c-algo-sgi.c b/drivers/i2c/algos/i2c-algo-sgi.c index 422721b241e5..55284c9e41dc 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 | ||
160 | static struct i2c_algorithm sgi_algo = { | 160 | static struct i2c_algorithm sgi_algo = { |
161 | .name = "SGI algorithm", | ||
162 | .id = I2C_ALGO_SGI, | 161 | .id = I2C_ALGO_SGI, |
163 | .master_xfer = sgi_xfer, | 162 | .master_xfer = sgi_xfer, |
164 | .functionality = sgi_func, | 163 | .functionality = sgi_func, |
diff --git a/drivers/i2c/algos/i2c-algo-sibyte.c b/drivers/i2c/algos/i2c-algo-sibyte.c index f2785499237b..4ca3e69461bc 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 | ||
137 | static struct i2c_algorithm i2c_sibyte_algo = { | 137 | static struct i2c_algorithm i2c_sibyte_algo = { |
138 | .name = "SiByte algorithm", | ||
139 | .id = I2C_ALGO_SIBYTE, | 138 | .id = I2C_ALGO_SIBYTE, |
140 | .smbus_xfer = smbus_xfer, | 139 | .smbus_xfer = smbus_xfer, |
141 | .algo_control = algo_control, /* ioctl */ | 140 | .algo_control = algo_control, /* ioctl */ |