diff options
| author | Simon Glass <[email protected]> | 2015-12-29 05:22:50 -0700 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2016-01-20 19:06:22 -0700 |
| commit | 4fbd258e69373a60cdf24c9a64065b486f8748c9 (patch) | |
| tree | 5067e1b3a84ce4696d0e24840bb50222c7266765 /lib/tiny-printf.c | |
| parent | 4a1db6d8ab4d5e4565bda079710a028ada12ddbe (diff) | |
i2c: Correct command return values
We should not return a -ve error code from command functions. Instead,
return CMD_RET_FAILURE. This avoids the "exit not allowed from main input
shell" error messages from the hush shell.
Signed-off-by: Simon Glass <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'lib/tiny-printf.c')
0 files changed, 0 insertions, 0 deletions
