Lines Matching defs:adap
20 void of_i2c_register_devices(struct i2c_adapter *adap)
26 if (!adap->dev.of_node)
29 dev_dbg(&adap->dev, "of_i2c: walking child nodes\n");
31 for_each_child_of_node(adap->dev.of_node, node) {
37 dev_dbg(&adap->dev, "of_i2c: register %s\n", node->full_name);
40 dev_err(&adap->dev, "of_i2c: modalias failure on %s\n",
47 dev_err(&adap->dev, "of_i2c: invalid reg on %s\n",
54 dev_err(&adap->dev, "of_i2c: invalid addr=%x on %s\n",
65 result = i2c_new_device(adap, &info);
67 dev_err(&adap->dev, "of_i2c: Failure registering %s\n",