Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torvalds/linux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-04 19:48:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-04 19:48:16 +0300
commit879516870d7a8e7ec017efa9be49d86dd4e04d3b (patch)
treefe13d10dec21c52ffc8ba8d0f5f609056273effe /drivers/tty/serial/fsl_lpuart.c
parent6a7ce07d6cb7345619c89c6aeab9c14ce9d7f354 (diff)
Revert "tty:n_gsm.c: destroy port by tty_port_destroy()"
This reverts commit 7726fb53e75fa48714181efd00167e0734303afb. Jiri writes: On 24. 09. 19, 11:25, Xiaoming Ni wrote: > According to the comment of tty_port_destroy(): > When a port was initialized using tty_port_init, one has to destroy > the port by tty_port_destroy(); It continues with a part saying: Either indirectly by using tty_port refcounting (tty_port_put) or directly if refcounting is not used. So this should be reverted. Cc: Xiaoming Ni <nixiaoming@huawei.com> Reported-by: Jiri Slaby <jslaby@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/fsl_lpuart.c')
0 files changed, 0 insertions, 0 deletions