diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-09-27 20:15:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-09-28 13:18:22 +0100 |
commit | 3405addd220a0cf2e3a8ffb9051afe766e5f52e8 (patch) | |
tree | ef19c5e5b155424fc50f131038eeb2abf27c7d24 /drivers/rtc/rtc-coh901331.c | |
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>
Diffstat (limited to 'drivers/rtc/rtc-coh901331.c')
0 files changed, 0 insertions, 0 deletions