mfd: tps80031: use regmap for register access
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 19 Jul 2012 14:47:14 +0000 (19:47 +0530)
committerSimone Willett <swillett@nvidia.com>
Mon, 23 Jul 2012 17:40:26 +0000 (10:40 -0700)
commitb514ab80b45d2e4d8e504f798c01eb5ff47a4a0e
tree19b649fb31991770c4b759b03e3cc8c5359fd2d8
parente6a836a6312c24e98ccb0fe059a569470b9de32d
mfd: tps80031: use regmap for register access

Use regmap for register access of device in place of
direct i2c calls.
This helps to have the debug FS support through regmap and
also help to caching register with minimum configuration.

Change-Id: I2a1285ab750639babcda40ba53001e7d1bd10a71
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/117332
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/mfd/tps80031.c