commit | 0e1b577400b1387a0e9fc5f9626ee370a270fa60 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Sat Oct 06 14:07:03 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Wed Oct 17 07:55:50 2012 -0700 |
tree | fa85fb257af47aba038533d52d94eca76afa8216 | |
parent | d9c644951b9316fcc198d75ed373934b636a49d1 [diff] |
serial: Reorder serial_assign() Reorder serial_assign() function to get rid of the extra level of indentation. Also, adjust the return value to be -EINVAL instead of positive one to be more consistent. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Marek Vasut <marek.vasut@gmail.com> Cc: Tom Rini <trini@ti.com>