Re: [PATCH] regmap: debugfs: Factor out debugfs_tot_len calc into a function

2013-02-11 Thread Mark Brown
On Mon, Feb 11, 2013 at 10:50:59AM +, Dimitris Papastamos wrote: > 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. Appli

[PATCH] regmap: debugfs: Factor out debugfs_tot_len calc into a function

2013-02-11 Thread Dimitris Papastamos
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 --- drivers/base/regmap/regmap-debugfs.c | 22