git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbe51c
)
regmap: debugfs: Simplify calculation of `c->max_reg'
author
Dimitris Papastamos
<dp@opensource.wolfsonmicro.com>
Wed, 20 Feb 2013 12:15:22 +0000
(12:15 +0000)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 4 Mar 2013 02:33:02 +0000
(10:33 +0800)
We don't need to use any of the file position information
to calculate the base and max register of each block. Just
use the counter directly.
Set `i = base' at the top to avoid GCC flow analysis bugs. The
value of `i' can never be undefined or 0 in the if (c) { ... }.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
No differences found