mfd: twl6040: Use regmap for register cache
authorMark Brown <broonie@linaro.org>
Sat, 31 Aug 2013 16:48:19 +0000 (17:48 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 2 Sep 2013 08:30:14 +0000 (10:30 +0200)
commitc6f39257c952bc7da974bf93255936ff2ece2c34
tree934b363a903dc4a80248b260d319b6f20992597d
parent921a2c870faa0a88c34e5c8c2afbd898fe8d325d
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>
drivers/mfd/twl6040.c
include/linux/mfd/twl6040.h