]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mx53loco: Remove unneeded 'retval' variable
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 28 Dec 2012 04:05:28 +0000 (04:05 +0000)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Jan 2013 17:06:12 +0000 (18:06 +0100)
commitd22925108e46491900815c9ec3c32122ead80d8e
tree1b07452f1203c05dbc36eb0c8b31801c6299d694
parent7093f85c9e6824c153a3ddd645d5065884567305
mx53loco: Remove unneeded 'retval' variable

commit c73368150 (pmic: Extend PMIC framework to support multiple instances
of PMIC devices) introduced an extra 'retval' variable, but this is not
necessary since we have already the variable 'ret' in place.

So use 'ret' to store the return values from the pmic related calls and remove
'retval'.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx53loco/mx53loco.c