Re: [PATCH 1/4] regmap: cache: Factor out reg_present support from rbtree cache

2013-03-29 Thread Dimitris Papastamos
On Fri, Mar 29, 2013 at 09:03:42PM +, Mark Brown wrote: > The idea of maintaining a bitmap of present registers is something that > can usefully be used by other cache types that maintain blocks of cached > registers so move the code out of the rbtree cache and into the generic > regcache code.

[PATCH 1/4] regmap: cache: Factor out reg_present support from rbtree cache

2013-03-29 Thread Mark Brown
The idea of maintaining a bitmap of present registers is something that can usefully be used by other cache types that maintain blocks of cached registers so move the code out of the rbtree cache and into the generic regcache code. Refactor the interface slightly as we go to wrap the set bit and e