Go to the documentation of this file.
14 #include <linux/i2c.h>
19 #include <linux/module.h>
27 if (!adap->
dev.of_node)
30 dev_dbg(&adap->
dev,
"of_i2c: walking child nodes\n");
41 dev_err(&adap->
dev,
"of_i2c: modalias failure on %s\n",
47 if (!addr || (len <
sizeof(
int))) {
48 dev_err(&adap->
dev,
"of_i2c: invalid reg on %s\n",
54 if (info.
addr > (1 << 10) - 1) {
55 dev_err(&adap->
dev,
"of_i2c: invalid addr=%x on %s\n",
61 info.
of_node = of_node_get(node);
71 dev_err(&adap->
dev,
"of_i2c: Failure registering %s\n",