projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc764b8
)
serial: fsl_lpuart: Return proper error on lpuart_serial_init error path
author
Axel Lin
<axel.lin@ingics.com>
Mon, 22 Jul 2013 01:12:36 +0000
(09:12 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 23:01:20 +0000
(16:01 -0700)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/fsl_lpuart.c
b/drivers/tty/serial/fsl_lpuart.c
index
7bc17f2
..
8978dc9
100644
(file)
--- a/
drivers/tty/serial/fsl_lpuart.c
+++ b/
drivers/tty/serial/fsl_lpuart.c
@@
-863,7
+863,7
@@
static int __init lpuart_serial_init(void)
if (ret)
uart_unregister_driver(&lpuart_reg);
- return
0
;
+ return
ret
;
}
static void __exit lpuart_serial_exit(void)