]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: Remove custom wm8350 cache implementation
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:37:24 +0000 (13:37 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 8 Jul 2012 22:16:10 +0000 (00:16 +0200)
commitc103069f56a45324ce85bcff84b56d175349d2df
tree31b3ec5f0716703f194136eb8ff7097bd09571cd
parentb090f426ad4240f4ed615ef590ec202d2af23695
mfd: Remove custom wm8350 cache implementation

Since none of the users now reference the cache directly we can happily
remove the custom cache code and rely on the regmap cache.

For simplicity we don't bother with the register defaults tables but
instead read the defaults from the device - regmap is capable of doing
this, unlike our old cache infrastructure. This saves a lot of code and
allows us to cache the device revision information too.

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