summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-stub.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-08-11 23:40:19 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-05 18:14:29 +0200
commit1d8b9e1bad35fa3ea829990b9056c2a257d8fe79 (patch)
treef3bba0f4b011d3a608dae6be4f296484328b638f /drivers/i2c/busses/i2c-stub.c
parent[PATCH] I2C: Kill i2c_algorithm.id (3/7) (diff)
downloadlinux-1d8b9e1bad35fa3ea829990b9056c2a257d8fe79.tar.xz
linux-1d8b9e1bad35fa3ea829990b9056c2a257d8fe79.zip
[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/busses/i2c-stub.c')
-rw-r--r--drivers/i2c/busses/i2c-stub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-stub.c b/drivers/i2c/busses/i2c-stub.c
index d7203207754f..73f481e93a36 100644
--- a/drivers/i2c/busses/i2c-stub.c
+++ b/drivers/i2c/busses/i2c-stub.c
@@ -109,7 +109,6 @@ static u32 stub_func(struct i2c_adapter *adapter)
}
static struct i2c_algorithm smbus_algorithm = {
- .id = I2C_ALGO_SMBUS,
.functionality = stub_func,
.smbus_xfer = stub_xfer,
};