regulator: ricoh583: Fix regulator information table
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 24 Aug 2011 13:17:13 +0000 (18:17 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 21:15:11 +0000 (14:15 -0700)
commit577d87304ed96e178bd85bdc94dbc1319c9d6dc4
treecfaf2f4fbbc6e75bfc62e3ffcbff11b122479aab
parentfe80b5e028b454f7c4411f0958d548ee95107d2f
regulator: ricoh583: Fix regulator information table

Correcting the n_voltages in regulator table. Also applying
deep sleep and init voltage only if it is valid.

bug 822562

Original-Change-Id: I484a556c0b5dd0c984f3afce5c136186d90422ba
Reviewed-on: http://git-master/r/48972
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R7eac9d2f39ceb3b279789876b90342a59b1b7d27
drivers/regulator/ricoh583-regulator.c