[PATCH] i2c: Fallback to of_node of parent

Wolfram Sang wsa at the-dreams.de
Sat Nov 16 08:06:02 PST 2013


> +	if (!dev->of_node && dev->parent)
> +		dev->of_node = dev->parent->of_node;
> +

That is not enough. Current drivers could then have the assignment
removed and even more important, this behaviour should be documented.

Regards,

   Wolfram

-------------- 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-rpi-kernel/attachments/20131116/fa778d3b/attachment.sig>


More information about the linux-rpi-kernel mailing list