commit | 0a083eddae33b6e20234d05a9cf54f87b0095511 | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Sun Nov 08 13:01:12 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Dec 13 19:59:48 2015 -0800 |
tree | eb2487f1492031b4947f3e38f7a768524911d0d6 | |
parent | 25080652a2d4a6d27a51fc1412e258f467174615 [diff] |
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>