OpenCloudOS-Kernel/drivers/tty/serdev
Dan Carpenter 10d258c518 serdev: ttyport: check whether tty_init_dev() fails
My static checker complains that we don't have any error handling here.
It's simple enough to add it.

Fixes: bed35c6dfa ("serdev: add a tty port controller driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-02-09 13:54:49 +01:00
..
Kconfig serdev: add a tty port controller driver 2017-02-03 10:17:02 +01:00
Makefile serdev: add a tty port controller driver 2017-02-03 10:17:02 +01:00
core.c
serdev-ttyport.c serdev: ttyport: check whether tty_init_dev() fails 2017-02-09 13:54:49 +01:00