summaryrefslogtreecommitdiff
path: root/include/linux/mfd/wm8994
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-25 12:23:53 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-12 16:11:05 (GMT)
commitc3f1386171a100d27d9fb978f474a6a330888af5 (patch)
treeb8440eff5d99347f322b526ab1384eeb0153245a /include/linux/mfd/wm8994
parent4412823a0ac768679c0f31bd9585ebc23b317138 (diff)
downloadlinux-fsl-qoriq-c3f1386171a100d27d9fb978f474a6a330888af5.tar.xz
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/wm8994')
-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 f44bdb7..d98593d 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;