From: Sachin Kamat Date: Wed, 12 Sep 2012 06:30:01 +0000 (+0530) Subject: tty: serial: Samsung: Fix return value X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~74^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e740d8f1a0a23a8fea8fbc5a02013c7410283665;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed