Re: [PATCH 2/2] regmap: rbtree-cache: Move cached rbnode handlinginto lookup function

From: Dimitris Papastamos
Date: Wed Sep 28 2011 - 06:09:17 EST


On Tue, Sep 27, 2011 at 08:15:38PM +0200, Lars-Peter Clausen wrote:
> 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@xxxxxxxxxx>

Both look good to me.

Acked-by: Dimitris Papastamos <dp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/