regulator: s2mps11: Move DTS parsing code to separate function
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 14 Apr 2014 08:09:06 +0000 (10:09 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 14 Apr 2014 21:12:42 +0000 (22:12 +0100)
Refactor code for parsing DTS to increase a little code readability. The
behaviour should not change.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/s2mps11.c

Simple merge