summaryrefslogtreecommitdiff
path: root/drivers/tty/tty_port.c
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2015-11-08 21:01:12 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-14 06:59:48 +0300
commit0a083eddae33b6e20234d05a9cf54f87b0095511 (patch)
treeeb2487f1492031b4947f3e38f7a768524911d0d6 /drivers/tty/tty_port.c
parent25080652a2d4a6d27a51fc1412e258f467174615 (diff)
downloadlinux-0a083eddae33b6e20234d05a9cf54f87b0095511.tar.xz
tty: core: Add helper fn to deref tty driver name
Similar to tty_name(), add tty_driver_name() helper to safely dereference tty->driver->name (otherwise return empty string). Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_port.c')
0 files changed, 0 insertions, 0 deletions