commit | bdad80768e764f1f0bc74d1b4f5d2103e13366fe | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Sat Oct 06 14:07:04 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Wed Oct 17 07:55:51 2012 -0700 |
tree | 5660152c880a3d41c6461c180d1f3c432409fac2 | |
parent | 0e1b577400b1387a0e9fc5f9626ee370a270fa60 [diff] |
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>