]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6628723c354be868ad29f867ad84d6474eec9aa0
tree934b363a903dc4a80248b260d319b6f20992597d
parent6cd1e93a56692e604b9901188564f18aeb9cd1eb
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