diff options
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-isa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-isa.c b/drivers/i2c/busses/i2c-isa.c index 9f93fb85d06e..9f2ffef4d812 100644 --- a/drivers/i2c/busses/i2c-isa.c +++ b/drivers/i2c/busses/i2c-isa.c | |||
@@ -98,7 +98,7 @@ int i2c_isa_add_driver(struct i2c_driver *driver) | |||
98 | res = driver_register(&driver->driver); | 98 | res = driver_register(&driver->driver); |
99 | if (res) | 99 | if (res) |
100 | return res; | 100 | return res; |
101 | dev_dbg(&isa_adapter.dev, "Driver %s registered\n", driver->name); | 101 | dev_dbg(&isa_adapter.dev, "Driver %s registered\n", driver->driver.name); |
102 | 102 | ||
103 | /* Now look for clients */ | 103 | /* Now look for clients */ |
104 | driver->attach_adapter(&isa_adapter); | 104 | driver->attach_adapter(&isa_adapter); |
@@ -129,7 +129,7 @@ int i2c_isa_del_driver(struct i2c_driver *driver) | |||
129 | 129 | ||
130 | /* Get the driver off the core list */ | 130 | /* Get the driver off the core list */ |
131 | driver_unregister(&driver->driver); | 131 | driver_unregister(&driver->driver); |
132 | dev_dbg(&isa_adapter.dev, "Driver %s unregistered\n", driver->name); | 132 | dev_dbg(&isa_adapter.dev, "Driver %s unregistered\n", driver->driver.name); |
133 | 133 | ||
134 | return 0; | 134 | return 0; |
135 | } | 135 | } |
@@ -174,7 +174,7 @@ static void __exit i2c_isa_exit(void) | |||
174 | list_for_each_safe(item, _n, &isa_adapter.clients) { | 174 | list_for_each_safe(item, _n, &isa_adapter.clients) { |
175 | client = list_entry(item, struct i2c_client, list); | 175 | client = list_entry(item, struct i2c_client, list); |
176 | dev_err(&isa_adapter.dev, "Driver %s still has an active " | 176 | dev_err(&isa_adapter.dev, "Driver %s still has an active " |
177 | "ISA client at 0x%x\n", client->driver->name, | 177 | "ISA client at 0x%x\n", client->driver->driver.name, |
178 | client->addr); | 178 | client->addr); |
179 | } | 179 | } |
180 | if (client != NULL) | 180 | if (client != NULL) |