diff options
author | Rob Herring <robh@kernel.org> | 2017-01-16 16:54:28 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-19 14:25:15 +0100 |
commit | 9ed90d20449b01beb71a4e125d291a36c80c4ad4 (patch) | |
tree | 3d242e7d7f46afbf7d5e633beba66b8bf451dbbc /drivers/tty/serial | |
parent | 2cc32b18d1243d65dc312478be08dd5856b44523 (diff) |
tty: move the non-file related parts of tty_release to new tty_release_struct
For in-kernel tty users, we need to be able to create and destroy
'struct tty' that are not associated with a file. The creation side is
fine, but tty_release() needs to be split into the file handle portion
and the struct tty portion. Introduce a new function, tty_release_struct,
to handle just the destroying of a struct tty.
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
0 files changed, 0 insertions, 0 deletions