mfd: Cache tps6586x register through regmap
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 18 Jul 2012 06:20:47 +0000 (11:50 +0530)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 24 Jul 2012 22:36:53 +0000 (00:36 +0200)
commit75edd5af601800cf1c8797ed1da14f4ddbda6d47
tree2494babc10b9d13a1bcf757f1ca2f5a3b2d0265d
parent1176b5be67692e910c8d4b055902c314e7249e36
mfd: Cache tps6586x register through regmap

To cache the interrupt mask register, use the regmap RB_TREE
cache-ing mechanism in place of implementing it locally.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/tps6586x.c