mfd: Commonize tps65910 regmap access through header
authorRhyland Klein <rklein@nvidia.com>
Thu, 7 Jun 2012 09:36:43 +0000 (14:36 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 7 Jun 2012 09:36:43 +0000 (14:36 +0530)
commitdef1019fb2222328c203e7d7083439c70fea713c
tree7a7bf131ad63021396ecb49f606832e0f7d5562a
parent12f4f4ba29bfe98cb26b7b43354bc66f2cac0629
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

Conflicts:

include/linux/mfd/tps65910.h
drivers/gpio/gpio-tps65910.c
drivers/mfd/tps65910-irq.c
drivers/mfd/tps65910.c
drivers/regulator/tps65910-regulator.c
include/linux/mfd/tps65910.h