Re: [PATCH 2/3] of: Introduce safe accessors for node->data

2010-02-09 Thread Anton Vorontsov
On Tue, Feb 09, 2010 at 10:25:22AM -0700, Grant Likely wrote: > On Fri, Feb 5, 2010 at 1:50 PM, Anton Vorontsov > 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 > >

Re: [PATCH 2/3] of: Introduce safe accessors for node->data

2010-02-09 Thread Grant Likely
On Fri, Feb 5, 2010 at 1:50 PM, Anton Vorontsov 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. > >

[PATCH 2/3] of: Introduce safe accessors for node->data

2010-02-05 Thread Anton Vorontsov
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 detachin