regulator: max15569: Fix bug in driver init
authorAshwin Joshi <asjoshi@nvidia.com>
Tue, 7 Jan 2014 09:50:58 +0000 (14:50 +0530)
committerSandeep Trasi <strasi@nvidia.com>
Wed, 15 Jan 2014 16:17:46 +0000 (08:17 -0800)
commit430b5c6acdca4febe7cded844a93277b16eea454
tree79327017c335177d23101c484ae02f3819d566b5
parentca41eb3af090afe42a8bfee65ffd0fbbdfc51263
regulator: max15569: Fix bug in driver init

Set base voltage only if it is passed for the board, else let the
regulator be set at whatever voltage it was before.

Bug 1410210

Change-Id: I09730afad4b11e99e60f45138e78871bf22746d1
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/352689
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
drivers/regulator/max15569-regulator.c