Sachin Kamat e740d8f1a0 tty: serial: Samsung: Fix return value
Return the value returned by the failing function instead
of -1 (which does not convey the right error information).

Fixes the following smatch warning:
drivers/tty/serial/samsung.c:1687 s3c24xx_serial_modinit() info:
why not propagate 'ret' from uart_register_driver() instead of -1?

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-17 04:45:30 -07:00
..
2012-09-17 04:45:29 -07:00
2012-09-05 13:28:35 -07:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2011-03-31 11:26:23 -03:00
2012-08-10 12:55:47 -07:00
2012-08-16 11:53:14 -07:00
2012-08-13 16:50:19 -07:00
2012-08-13 16:50:19 -07:00
2012-09-05 13:28:35 -07:00
2012-09-05 13:28:35 -07:00
2012-08-10 12:55:47 -07:00
2012-08-10 12:55:47 -07:00