diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2013-02-08 12:47:20 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-02-11 11:25:33 (GMT) |
commit | cf57d6071f0610c99856c006ac06eb98a151f485 (patch) | |
tree | 18a88144112ef72369b89b0c0b4b991eea593102 /arch/arm/mach-footbridge/isa.c | |
parent | c2c1ee66016a45477f58f0fd30907b1e959ca76b (diff) | |
download | linux-cf57d6071f0610c99856c006ac06eb98a151f485.tar.xz |
regmap: debugfs: Optimize seeking within blocks of registers
Optimize this so that we can better guess where to start scanning
from. We know the length of the register field format, therefore
given the file pointer position align to the nearest register
field and scan from there onwards. We round down in this calculation
and we let the rest of the code figure out where to start scanning
from.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch/arm/mach-footbridge/isa.c')
0 files changed, 0 insertions, 0 deletions