aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/bin2c.c
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2014-06-04 14:53:25 -0500
committerMark Brown <broonie@linaro.org>2014-06-05 12:36:51 +0100
commit69d588392b057c0cedb1ba58d7973b77a65997ec (patch)
treefed092a06a05b71ff2ea96ef7284876fc6b378ca /scripts/basic/bin2c.c
parent978371cbabb4cb7a47751049d72f06dc8348cab2 (diff)
regulator: core: print error value when constraints are not applied
With commit 064d5cd110f94ce41ca5681dcda8b77fa63d5b95 (regulator: core: Fix the init of DT defined fixed regulators) We ensure that regulator must be capable of providing it's current voltage when constraints are used, however adding the return value in the print is a little more informative to explain the nature of the failure involved. So, instead of providing message such as: smps9: failed to get the current voltage having error value added to the message such as: smps9: failed to get the current voltage(-22) is a little more informative for debugging the error. Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions