[PATCH v3 2/2] i2c: New bus driver for the Qualcomm QUP I2C controller
Wolfram Sang
wsa at the-dreams.de
Wed Mar 5 11:44:41 EST 2014
> + 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>
More information about the linux-arm-kernel
mailing list