From: Lars-Peter Clausen Date: Tue, 27 Sep 2011 18:15:38 +0000 (+0200) Subject: regmap: rbtree-cache: Move cached rbnode handling into lookup function X-Git-Tag: v3.2-rc1~181^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3405addd220a0cf2e3a8ffb9051afe766e5f52e8;p=pandora-kernel.git 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 Acked-by: Dimitris Papastamos Signed-off-by: Mark Brown --- Reading git-diff-tree failed