diff options
author | Marek Vasut <marex@denx.de> | 2012-10-06 14:07:03 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-17 07:55:50 -0700 |
commit | 6d93e25806337d46ee75c6703b3ecc972cb179a5 (patch) | |
tree | fa85fb257af47aba038533d52d94eca76afa8216 /drivers/gpio | |
parent | ec3fd68952662b1badb02caab9705eb93bdc4f1b (diff) | |
download | u-boot-imx-6d93e25806337d46ee75c6703b3ecc972cb179a5.zip u-boot-imx-6d93e25806337d46ee75c6703b3ecc972cb179a5.tar.gz u-boot-imx-6d93e25806337d46ee75c6703b3ecc972cb179a5.tar.bz2 |
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>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions