Lines Matching defs:dev
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",
67 dev_err(&adap->dev, "of_i2c: Failure registering %s\n",
77 static int of_dev_node_match(struct device *dev, void *data)
79 return dev->of_node == data;
85 struct device *dev;
87 dev = bus_find_device(&i2c_bus_type, NULL, node,
89 if (!dev)
92 return to_i2c_client(dev);