Correct the format type for reading in regulator data

Some of the regulator info were being read in as an integer
to a character buffer which was causing the info to be garbled and
wrong. This patch fixes the issue by reading in the info as a string
and then converting it into integer.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
1 file changed