diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-31 20:48:19 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-09-02 12:30:14 +0400 |
commit | c6f39257c952bc7da974bf93255936ff2ece2c34 (patch) | |
tree | 934b363a903dc4a80248b260d319b6f20992597d /include/linux/mfd/twl6040.h | |
parent | 921a2c870faa0a88c34e5c8c2afbd898fe8d325d (diff) | |
download | linux-c6f39257c952bc7da974bf93255936ff2ece2c34.tar.xz |
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/twl6040.h')
-rw-r--r-- | include/linux/mfd/twl6040.h | 1 |
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 { int audpwron; int power_count; int rev; - u8 vibra_ctrl_cache[2]; /* PLL configuration */ int pll; |