regulator: ricoh583: Add selector to set_voltage
authorAntti P Miettinen <amiettinen@nvidia.com>
Thu, 3 Nov 2011 08:36:40 +0000 (10:36 +0200)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 8 Dec 2011 12:38:44 +0000 (17:38 +0530)
commit4180067cd919d5258bf47b619a5c7c90a1c209cd
tree1d4ddd6e2025bf0d3437b460ffde200ef53ca149
parent93dc60921bc85edbc2cb523220a759a9d2be1b6a
regulator: ricoh583: Add selector to set_voltage

Current set_voltage operation has additional selector argument
that is used to return the index of the selected voltage.

Bug 886170

Change-Id: I3e64cc91ab02cf90a2fe283258bc3c9e1aef2e1d
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/62144
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/regulator/ricoh583-regulator.c