regmap: debugfs: Factor out debugfs_tot_len calc into a function
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Mon, 11 Feb 2013 10:50:59 +0000 (10:50 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Feb 2013 11:25:33 +0000 (11:25 +0000)
In preparation to support the regmap debugfs ranges functionality
factor this code out to a separate function.  We'll need to ensure
that the value has been correctly calculated from two separate places
in the code.

Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found