Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137561
b: refs/heads/master
c: acec211
h: refs/heads/master
i:
  137559: e7ec5d2
v: v3
  • Loading branch information
Jean Delvare committed Mar 28, 2009
1 parent 7af42ce commit 3ea005b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f02e3d74e9f89e3d49284e7c99217993b657f5b7
refs/heads/master: acec211ca605d79083058e6037bbf131c3f993fc
5 changes: 4 additions & 1 deletion trunk/drivers/i2c/i2c-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ static int i2c_do_del_adapter(struct device_driver *d, void *data)
struct i2c_client *client, *_n;
int res;

/* Remove the devices we created ourselves */
/* Remove the devices we created ourselves as the result of hardware
* probing (using a driver's detect method) */
list_for_each_entry_safe(client, _n, &driver->clients, detected) {
if (client->adapter == adapter) {
dev_dbg(&adapter->dev, "Removing %s at 0x%x\n",
Expand Down Expand Up @@ -749,6 +750,8 @@ static int __detach_adapter(struct device *dev, void *data)
struct i2c_driver *driver = data;
struct i2c_client *client, *_n;

/* Remove the devices we created ourselves as the result of hardware
* probing (using a driver's detect method) */
list_for_each_entry_safe(client, _n, &driver->clients, detected) {
dev_dbg(&adapter->dev, "Removing %s at 0x%x\n",
client->name, client->addr);
Expand Down

0 comments on commit 3ea005b

Please sign in to comment.