[PATCH] i2c: Fallback to of_node of parent

Florian Meier florian.meier at koalo.de
Sat Nov 16 08:11:10 PST 2013


Ok, I will try to find all relevant lines.
Where is the best place to document this?

Greetings,
Florian

2013/11/16 Wolfram Sang <wsa at the-dreams.de>:
>
>> +     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
>



More information about the linux-rpi-kernel mailing list