regulator: of: Add support for parsing regulator_state for suspend state
authorChanwoo Choi <cw00.choi@samsung.com>
Fri, 10 Oct 2014 11:35:33 +0000 (20:35 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:24:13 +0000 (12:24 +0100)
commit40e20d68bb3fb1ce2704c886d597918988d3321d
tree7a3cd0364f863068b7f6f76078eebfbea1423596
parentf114040e3ea6e07372334ade75d1ee0775c355e1
regulator: of: Add support for parsing regulator_state for suspend state

The regulation_constraints structure includes specific field to support
suspend state for global PMIC SUSPEND/HIBERNATE mode. This patch add support
for parsing regulator_state for suspend state.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/of_regulator.c