regmap: debugfs: Add a `max_reg' member in struct regmap_debugfs_off_cache
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Fri, 8 Feb 2013 12:47:14 +0000 (12:47 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Feb 2013 11:25:32 +0000 (11:25 +0000)
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: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found