diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-02-08 10:23:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-09 13:54:49 +0100 |
commit | 10d258c51869916347adce4312e6fe41fa5144ad (patch) | |
tree | d1bf7131a33aeb5da10722eaa0ee8313d46dfde0 /sound | |
parent | 80cd94e759fd3d7b9fb1a95fa41e2c23e557a525 (diff) |
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: bed35c6dfa6a ("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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions