projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7378bea
)
serial: liteuart: minor style fix in liteuart_init()
author
Gabriel Somlo
<gsomlo@gmail.com>
Wed, 23 Nov 2022 13:04:51 +0000
(08:04 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 13:59:40 +0000
(14:59 +0100)
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Link:
https://lore.kernel.org/r/20221123130500.1030189-6-gsomlo@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/liteuart.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/liteuart.c
b/drivers/tty/serial/liteuart.c
index c6eb7eba5af857055ecb0504eff6e265e0f70071..1e3429bcc2adf2b37fedd3eb7cb6139fb6f68a87 100644
(file)
--- a/
drivers/tty/serial/liteuart.c
+++ b/
drivers/tty/serial/liteuart.c
@@
-397,12
+397,10
@@
static int __init liteuart_init(void)
return res;
res = platform_driver_register(&liteuart_platform_driver);
- if (res)
{
+ if (res)
uart_unregister_driver(&liteuart_driver);
- return res;
- }
- return
0
;
+ return
res
;
}
static void __exit liteuart_exit(void)