cmd: adc: print single conversion also in uV
authorFabrice Gasnier <fabrice.gasnier@st.com>
Mon, 12 Nov 2018 13:04:00 +0000 (14:04 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 20 Nov 2018 17:35:34 +0000 (12:35 -0500)
commitc56fc49a60397d59b3949efa8c26ab15d7ffa417
treeefcfeaa84541856038c27116dda8819357a336e1
parent1c84d904a5fb7e25dfba459c23fde964c0cde49e
cmd: adc: print single conversion also in uV

Use newly introduced adc_raw_to_uV() API to print conversion result
both as raw value and micro-volts by default.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/adc.c