commit | 60b3109e5e2d93af6a61c7caf10f1009584cee30 | [log] [tgz] |
---|---|---|
author | Daeseok Youn <daeseok.youn@gmail.com> | Thu Apr 14 12:30:13 2016 +0900 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 29 17:46:00 2016 -0700 |
tree | 17adbb8560f51ce8690d60092a41f1a30bbf7c59 | |
parent | e47e7379ce3e03018619e994976b4059b790c955 [diff] |
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>