diff options
-rw-r--r-- | drivers/i2c/i2c-core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 9653f7f81561..21fe1406c8b4 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c | |||
@@ -217,9 +217,8 @@ int i2c_add_adapter(struct i2c_adapter *adap) | |||
217 | */ | 217 | */ |
218 | if (adap->dev.parent == NULL) { | 218 | if (adap->dev.parent == NULL) { |
219 | adap->dev.parent = &platform_bus; | 219 | adap->dev.parent = &platform_bus; |
220 | printk(KERN_WARNING "**WARNING** I2C adapter driver [%s] " | 220 | pr_debug("I2C adapter driver [%s] forgot to specify " |
221 | "forgot to specify physical device; fix it!\n", | 221 | "physical device\n", adap->name); |
222 | adap->name); | ||
223 | } | 222 | } |
224 | sprintf(adap->dev.bus_id, "i2c-%d", adap->nr); | 223 | sprintf(adap->dev.bus_id, "i2c-%d", adap->nr); |
225 | adap->dev.driver = &i2c_adapter_driver; | 224 | adap->dev.driver = &i2c_adapter_driver; |