summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorMark Brown2011-10-25 14:23:53 +0200
committerMark Brown2011-12-12 17:11:05 +0100
commitc3f1386171a100d27d9fb978f474a6a330888af5 (patch)
treeb8440eff5d99347f322b526ab1384eeb0153245a /include/linux/mfd
parentMerge branch 'topic/cache' of git://git.kernel.org/pub/scm/linux/kernel/git/b... (diff)
downloadkernel-qcow2-linux-c3f1386171a100d27d9fb978f474a6a330888af5.tar.gz
kernel-qcow2-linux-c3f1386171a100d27d9fb978f474a6a330888af5.tar.xz
kernel-qcow2-linux-c3f1386171a100d27d9fb978f474a6a330888af5.zip
mfd: Enable register cache for wm8994 devices
As part of this we provide information about the registers that exist in the device to the regmap core, drop the small amount of cache that the core had been using and let regmap do the sync. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/wm8994/core.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mfd/wm8994/core.h b/include/linux/mfd/wm8994/core.h
index f44bdb7273bd..d98593d52e7c 100644
--- a/include/linux/mfd/wm8994/core.h
+++ b/include/linux/mfd/wm8994/core.h
@@ -70,8 +70,6 @@ struct wm8994 {
/* Used over suspend/resume */
bool suspended;
- u16 ldo_regs[WM8994_NUM_LDO_REGS];
- u16 gpio_regs[WM8994_NUM_GPIO_REGS];
struct regulator_dev *dbvdd;
int num_supplies;