commit | 3405addd220a0cf2e3a8ffb9051afe766e5f52e8 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Sep 27 20:15:38 2011 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Sep 28 13:18:22 2011 +0100 |
tree | ef19c5e5b155424fc50f131038eeb2abf27c7d24 | |
parent | c5713004b304e89c8c5117d8f226d5a1603571dc [diff] |
regmap: rbtree-cache: Move cached rbnode handling into lookup function Move the handling of the cached rbnode into regcache_rbtree_lookup. This allows us to remove of some duplicated code sections in regcache_rbtree_read and regcache_rbtree_write. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>