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)
commit011703835f83626048ab75d4ada9ab8ed269b193
tree3725a66d6fcf36126b9e6e7143ae4c295305cd84
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
regulator: s2mps11: Move DTS parsing code to separate function

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