aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/i2c/i2c-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c
index 49ae5a5f301..d0ec08f65a2 100644
--- a/drivers/i2c/i2c-core.c
+++ b/drivers/i2c/i2c-core.c
@@ -1152,8 +1152,8 @@ void i2c_detect_ext_master(struct i2c_adapter *adap)
mutex_lock(&adap->ext_clients_lock);
list_for_each_entry(client, &adap->ext_clients,
detected) {
- dev_dbg("Client detected %s at 0x%x\n", client->name,
- client->addr);
+ dev_dbg(&adap->dev, "Client detected %s at 0x%x\n",
+ client->name, client->addr);
disable_irq(client->irq);
}
mutex_unlock(&adap->ext_clients_lock);