diff options
author | Daeseok Youn | 2016-04-14 05:30:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-04-30 02:46:00 +0200 |
commit | 60b3109e5e2d93af6a61c7caf10f1009584cee30 (patch) | |
tree | 17adbb8560f51ce8690d60092a41f1a30bbf7c59 /drivers/staging/skein/skein_base.h | |
parent | staging: dgnc: remove redundant NULL check in (diff) | |
download | kernel-qcow2-linux-60b3109e5e2d93af6a61c7caf10f1009584cee30.tar.gz kernel-qcow2-linux-60b3109e5e2d93af6a61c7caf10f1009584cee30.tar.xz kernel-qcow2-linux-60b3109e5e2d93af6a61c7caf10f1009584cee30.zip |
staging: dgnc: use tty_alloc_driver instead of kcalloc
The tty_alloc_driver() can allocate memory for ttys and termios.
And also allocated memory will be released easily with
put_tty_driver() call.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/skein/skein_base.h')
0 files changed, 0 insertions, 0 deletions