Re: [PATCH 1/2 v2] regmap: debugfs: Add a `max_reg' member in struct regmap_debugfs_off_cache

2013-02-11 Thread Mark Brown
On Fri, Feb 08, 2013 at 12:47:14PM +, Dimitris Papastamos wrote: > We are keeping track of the maximum register as well, this will make > things easier for us in sharing this code with the code implementing > the register ranges functionality. It also simplifies a bit the > calculations when

Re: [PATCH 1/2 v2] regmap: debugfs: Add a `max_reg' member in struct regmap_debugfs_off_cache

2013-02-11 Thread Mark Brown
On Fri, Feb 08, 2013 at 12:47:14PM +, Dimitris Papastamos wrote: We are keeping track of the maximum register as well, this will make things easier for us in sharing this code with the code implementing the register ranges functionality. It also simplifies a bit the calculations when

[PATCH 1/2 v2] regmap: debugfs: Add a `max_reg' member in struct regmap_debugfs_off_cache

2013-02-08 Thread Dimitris Papastamos
We are keeping track of the maximum register as well, this will make things easier for us in sharing this code with the code implementing the register ranges functionality. It also simplifies a bit the calculations when looking for the relevant block:offset from within the cache. Signed-off-by:

[PATCH 1/2 v2] regmap: debugfs: Add a `max_reg' member in struct regmap_debugfs_off_cache

2013-02-08 Thread Dimitris Papastamos
We are keeping track of the maximum register as well, this will make things easier for us in sharing this code with the code implementing the register ranges functionality. It also simplifies a bit the calculations when looking for the relevant block:offset from within the cache. Signed-off-by: