regmap: Move initialization of regcache related fields to regcache_init
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 16 Nov 2011 15:28:16 +0000 (16:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 13 Dec 2011 04:55:06 +0000 (12:55 +0800)
commit94f9ec936513b9743996cf89d2f9c8e3110cf0f4
treead72b43fa607269ce963bc791f9eda3ea68ca2f9
parentbf315173359b2f3b8b8ccca4264815e91f30be12
regmap: Move initialization of regcache related fields to regcache_init

Move the initialization regcache related fields of the regmap struct to
regcache_init. This allows us to keep regmap and regcache code better
separated.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/base/regmap/internal.h
drivers/base/regmap/regcache.c
drivers/base/regmap/regmap.c