> + 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
signature.asc
Description: Digital signature