On 9/10/2015 8:53 PM, Fabio Estevam wrote: > From: Fabio Estevam <fabio.este...@freescale.com> > > We should not return 0 on failure, so return a negative error code > instead. > > Also centralize the error path so that is easier to follow. > > Cc: Troy Kisky <troy.ki...@boundarydevices.com> > Signed-off-by: Fabio Estevam <fabio.este...@freescale.com> > --- > board/boundary/nitrogen6x/nitrogen6x.c | 19 +++++++++++-------- > 1 file changed, 11 insertions(+), 8 deletions(-)
Acked-by: Troy Kisky <troy.ki...@boundarydevices.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot