~linaro-pm-wg/linaro-powerdebug/master

Viewing all changes in revision 228.

  • Committer: Lisa Nguyen
  • Author(s): Thara Gopinath
  • Date: 2017-09-19 19:58:06 UTC
  • Revision ID: git-v1:ce1acda61617d3ab02087f97a6b073b460399e32
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: