On Fri, Feb 5, 2010 at 1:50 PM, Anton Vorontsov <[email protected]> wrote: > Platform code use node->data to store some private information > associated with a node. > > Previously there was no need for any locks and accessors since we were > initializing the data mostly at boot time and never modified it later. > > Though, nowadays OF GPIO infrastructure supports GPIO chips detaching, > so to handle this correctly we have to introduce locking for the > node->data field.
I'm not convinced this is needed. What's wrong with using the whole-tree devtree_lock? g. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
