Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Alessandro Rubini authored
The sub-command parser missed a brace, so "return 0;" is always taken and no error message is diplayed if you say "i2c scan" instead of "i2c probe", for example. Proper brace is added. Also, a misleading and unneeded else is removed. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com.it>
Alessandro Rubini authoredThe sub-command parser missed a brace, so "return 0;" is always taken and no error message is diplayed if you say "i2c scan" instead of "i2c probe", for example. Proper brace is added. Also, a misleading and unneeded else is removed. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com.it>