mfd: Commonize tps65910 regmap access through header
authorRhyland Klein <rklein@nvidia.com>
Tue, 8 May 2012 18:42:38 +0000 (11:42 -0700)
committerSimone Willett <swillett@nvidia.com>
Mon, 4 Jun 2012 21:21:05 +0000 (14:21 -0700)
commitd167de5fef02520c5dfd924eeeb5fb9fae671729
tree55b1bc2e362492dcd4a4e04c38d819cb1cf54764
parent30d1e63baee88c54c4093279b8653682a11cbaca
mfd: Commonize tps65910 regmap access through header

This change removes the read/write callback functions in favor of common
regmap accessors inside the header file. This change also makes use of
regmap_read/write for single register access which maps better onto what this
driver actually needs.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
(Cherry-pick from mainline
3f7e82759c692df473675ed06fb90b20f1f225c3)

Change-Id: Ida79b196acf65ed14ff9fd2cc1f7c0048f99ba2b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/105922
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
GVS: Gerrit_Virtual_Submit
drivers/gpio/gpio-tps65910.c
drivers/mfd/tps65910-irq.c
drivers/mfd/tps65910.c
drivers/regulator/tps65910-regulator.c
include/linux/mfd/tps65910.h