• Alan Cox's avatar
    tty: Add a full port_close function · 7ca0ff9a
    Alan Cox authored
    Now we are extracting out methods for shutdown and the like we can add a
    proper tty_port_close method that knows all the innards of the tty closing
    process and hides the lot from the caller.
    
    At some point in the future this will be paired with a similar open()
    helper and the drivers can stick to hardware management.
    Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
    Cc: stable <stable@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    7ca0ff9a
tty_port.c 9.45 KB