regmap: regcache_rbtree_{set,get}_register: Use regcache_{set,get}_val
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 27 Sep 2011 18:15:37 +0000 (20:15 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 28 Sep 2011 12:18:11 +0000 (13:18 +0100)
commitc5713004b304e89c8c5117d8f226d5a1603571dc
treedc33145c0b995e3f55cdc88565438c22b1bcbeec
parent954757d767a78bc4b863fa9ea703bd7f814c8a55
regmap: regcache_rbtree_{set,get}_register: Use regcache_{set,get}_val

Use regcache_{set,get}_val in regcache_rbtree_{set,get}_register instead of
re-implementing its functionality.

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>
drivers/base/regmap/regcache-rbtree.c