diff options
author | Marek Vasut <marex@denx.de> | 2012-10-06 14:07:04 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-17 07:55:51 -0700 |
commit | dee1941604ca0970f455b8231f695bcdb67045e4 (patch) | |
tree | 5660152c880a3d41c6461c180d1f3c432409fac2 /arch/avr32 | |
parent | 6d93e25806337d46ee75c6703b3ecc972cb179a5 (diff) | |
download | u-boot-imx-dee1941604ca0970f455b8231f695bcdb67045e4.zip u-boot-imx-dee1941604ca0970f455b8231f695bcdb67045e4.tar.gz u-boot-imx-dee1941604ca0970f455b8231f695bcdb67045e4.tar.bz2 |
serial: Reorder get_current()
Reorder the get_current() function to make it a bit more readable.
The code does not grow and there is minor change in the code logic,
where dev != NULL is now checked in any case.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions