commit | f8bd822cbf953299b2957b45f6a43c08e7931ddc | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Mar 29 19:32:28 2013 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sat Mar 30 13:52:25 2013 +0000 |
tree | dd728ef96a28c472dbcaf1b95e43ebc1954666f4 | |
parent | 78493f2d7b51d6f6d03982cee559c62dfab4c292 [diff] |
regmap: cache: Factor out block sync The idea of holding blocks of registers in device format is shared between at least rbtree and lzo cache formats so split out the loop that does the sync from the rbtree code so optimisations on it can be reused. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Reviewed-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>