regmap: Move initialization of regcache related fields to regcache_init
commite5e3b8abeda1cf45f5a079458dbc267952694c7a
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 16 Nov 2011 15:28:16 +0000 (16 16:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 16 Nov 2011 17:34:53 +0000 (16 17:34 +0000)
tree46bd89885c027beaa4d549ea5f1d79f8a9279433
parentc2b1ecd13c6a7b19f1c0c48b68f61ab083f3ec3f
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