commit | e740d8f1a0a23a8fea8fbc5a02013c7410283665 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Wed Sep 12 12:00:01 2012 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 17 04:45:30 2012 -0700 |
tree | 384c981882e45970d2f4f35cd7424023a5647cd6 | |
parent | 47fdd641ccab534a12052dbbf093865daf114bf4 [diff] |
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>