]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/mfd/wm8350-core.c
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)
commit19d57ed5a308472a02e773f33c03ad4cb2ec6a9d
tree31b3ec5f0716703f194136eb8ff7097bd09571cd
parent7fdb5d32614f7784fc7c2b8e883eb4da26358a94
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