commit | 4dd7c5531d3b046574da39096b1a66c738aca102 | [log] [tgz] |
---|---|---|
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | Mon Feb 11 10:50:59 2013 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Feb 11 11:25:33 2013 +0000 |
tree | 35924e82be3e915577262cc4b27dd9f34fb7b802 | |
parent | cf57d6071f0610c99856c006ac06eb98a151f485 [diff] |
regmap: debugfs: Factor out debugfs_tot_len calc into a function 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>