DDC buses are manually managed by their consumers to communicate with the display. There is no need to try to populate OF childs. This gets rid of the device create failed warning caused by the core trying to populate a DDC bus below a OF device, which has other childs nodes, that aren't i2c devices. Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- drivers/i2c/i2c-core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c index 5ab67219f71e..fbf7aade2ca7 100644 --- a/drivers/i2c/i2c-core.c +++ b/drivers/i2c/i2c-core.c @@ -1686,6 +1686,10 @@ static void of_i2c_register_devices(struct i2c_adapter *adap) if (!adap->dev.of_node) return; + /* DDC buses have no OF populated childs */ + if (adap->class == I2C_CLASS_DDC) + return; + dev_dbg(&adap->dev, "of_i2c: walking child nodes\n"); bus = of_get_child_by_name(adap->dev.of_node, "i2c-bus"); -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html