mfd: Remove wm8400 custom cache implementation
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 May 2012 21:53:48 +0000 (22:53 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 20 May 2012 15:27:01 +0000 (17:27 +0200)
commit879eed68265c8dcb2f2856ec96820fc93b7038c9
treeb290c707e1d9eb3033f8a93eff1d81f4b7afb185
parent27757e8262669321b496c55f06f4844e827fd1c5
mfd: Remove wm8400 custom cache implementation

Save a useful amount of code by removing the custom cache implementation
for wm8400 and using the regmap cache. Also simplify things by not
separately reseting the CODEC registers, this is a sufficiently infrequent
operation that we can simply invalidate the entire cache when this happens.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8400-core.c
include/linux/mfd/wm8400-private.h