serial: omap-serial: fix signess error
authorVasiliy Kulikov <segooon@gmail.com>
Sun, 10 Oct 2010 17:28:35 +0000 (21:28 +0400)
committerTony Lindgren <tony@atomide.com>
Tue, 12 Oct 2010 20:22:42 +0000 (13:22 -0700)
commit79fc3e21401be720708931002268b676e36fcf41
tree21ec1f1afa8950d1931ce3e7a4d7914629df7738
parent0e4905c0199d683497833be60a428c784d7575b8
serial: omap-serial: fix signess error

"ret" is unsigned, so check for (ret < 0) made no sense.
Made it signed.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/serial/omap-serial.c