Thread (18 messages) 18 messages, 11 authors, 2014-03-05

[PATCH v3 2/2] i2c: New bus driver for the Qualcomm QUP I2C controller

From: Wolfram Sang <hidden>
Date: 2014-03-05 16:44:55
Also in: linux-arm-msm, linux-devicetree, linux-i2c, lkml

+	qup->adap.nr = pdev->id;
+	qup->adap.dev.parent = qup->dev;
+	qup->adap.dev.of_node = pdev->dev.of_node;
+	strlcpy(qup->adap.name, "QUP I2C adapter", sizeof(qup->adap.name));
+
+	ret = i2c_add_numbered_adapter(&qup->adap);
I'd suggest to use just i2c_add_adapter and let the core check the
aliases for you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140305/6fcc90a1/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help