aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-08-31 12:48:19 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2013-09-02 04:30:14 -0400
commitc6f39257c952bc7da974bf93255936ff2ece2c34 (patch)
tree934b363a903dc4a80248b260d319b6f20992597d /include/linux/mfd
parent921a2c870faa0a88c34e5c8c2afbd898fe8d325d (diff)
mfd: twl6040: Use regmap for register cache
Rather then open coding a cache of the vibra control registers use the regmap cache code. Also cache the interrupt mask register, providing a small performance improvement for the interrupt code. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/twl6040.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/twl6040.h b/include/linux/mfd/twl6040.h
index 7e7fbce7a308..2b7d26573431 100644
--- a/include/linux/mfd/twl6040.h
+++ b/include/linux/mfd/twl6040.h
@@ -229,7 +229,6 @@ struct twl6040 {
229 int audpwron; 229 int audpwron;
230 int power_count; 230 int power_count;
231 int rev; 231 int rev;
232 u8 vibra_ctrl_cache[2];
233 232
234 /* PLL configuration */ 233 /* PLL configuration */
235 int pll; 234 int pll;