Lines Matching defs:op
446 static void attach_one_temp(struct bbc_i2c_bus *bp, struct platform_device *op,
458 tp->client = bbc_i2c_attach(bp, op);
494 static void attach_one_fan(struct bbc_i2c_bus *bp, struct platform_device *op,
506 fp->client = bbc_i2c_attach(bp, op);
568 struct platform_device *op;
573 while ((op = bbc_i2c_getdev(bp, devidx++)) != NULL) {
574 if (of_node_name_eq(op->dev.of_node, "temperature"))
575 attach_one_temp(bp, op, temp_index++);
576 if (of_node_name_eq(op->dev.of_node, "fan-control"))
577 attach_one_fan(bp, op, fan_index++);