diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-05-01 17:26:28 -0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-05-01 17:26:28 -0400 |
commit | b31366f4394f7b1e8e1726ba049f294934db4495 (patch) | |
tree | bd9a676864adaac9026ed36ce7398d15418ea47b /drivers/i2c/busses | |
parent | fccb56e4d82132ac15359efc9e419371e4533437 (diff) |
i2c: i2c_adapter devices need no driver
Kill i2c_adapter_driver as it doesn't make sense and it prevents
further i2c-core cleanups. i2c_adapter devices are virtual devices
(ex-class devices) and as such they don't need a driver.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-isa.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-isa.c b/drivers/i2c/busses/i2c-isa.c index a2e75bc9178b..745830bb8e2b 100644 --- a/drivers/i2c/busses/i2c-isa.c +++ b/drivers/i2c/busses/i2c-isa.c | |||
@@ -139,7 +139,6 @@ static int __init i2c_isa_init(void) | |||
139 | isa_adapter.nr = ANY_I2C_ISA_BUS; | 139 | isa_adapter.nr = ANY_I2C_ISA_BUS; |
140 | isa_adapter.dev.parent = &platform_bus; | 140 | isa_adapter.dev.parent = &platform_bus; |
141 | sprintf(isa_adapter.dev.bus_id, "i2c-%d", isa_adapter.nr); | 141 | sprintf(isa_adapter.dev.bus_id, "i2c-%d", isa_adapter.nr); |
142 | isa_adapter.dev.driver = &i2c_adapter_driver; | ||
143 | isa_adapter.dev.release = &i2c_adapter_dev_release; | 142 | isa_adapter.dev.release = &i2c_adapter_dev_release; |
144 | isa_adapter.dev.class = &i2c_adapter_class; | 143 | isa_adapter.dev.class = &i2c_adapter_class; |
145 | err = device_register(&isa_adapter.dev); | 144 | err = device_register(&isa_adapter.dev); |