]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: adc: Report return value on error
authorSamuel Dionne-Riel <samuel@dionne-riel.com>
Mon, 20 Dec 2021 23:23:45 +0000 (18:23 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jan 2022 18:16:11 +0000 (13:16 -0500)
commit4a05497a8ce9292017b7a5d0e48ecc45705a0a4b
treea982ab4dffe7621ffe1edef66cfff6ea136703e7
parent499f18446d2ceb4a48730e9ef3111bcbd9fae9de
cmd: adc: Report return value on error

Reporting the return value should always be done on error conditions,
this way the developer can start debugging issues with more knowledge
in-hand.

Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
cmd/adc.c