diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2013-02-11 11:50:59 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-11 12:25:33 +0100 |
commit | 4dd7c5531d3b046574da39096b1a66c738aca102 (patch) | |
tree | 35924e82be3e915577262cc4b27dd9f34fb7b802 /drivers/base/regmap/internal.h | |
parent | regmap: debugfs: Optimize seeking within blocks of registers (diff) | |
download | linux-4dd7c5531d3b046574da39096b1a66c738aca102.tar.xz linux-4dd7c5531d3b046574da39096b1a66c738aca102.zip |
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>
Diffstat (limited to 'drivers/base/regmap/internal.h')
0 files changed, 0 insertions, 0 deletions