diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2016-04-14 03:30:13 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-04-30 00:46:00 (GMT) |
commit | 60b3109e5e2d93af6a61c7caf10f1009584cee30 (patch) | |
tree | 17adbb8560f51ce8690d60092a41f1a30bbf7c59 /drivers/media/pci/saa7164 | |
parent | e47e7379ce3e03018619e994976b4059b790c955 (diff) | |
download | linux-60b3109e5e2d93af6a61c7caf10f1009584cee30.tar.xz |
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/media/pci/saa7164')
0 files changed, 0 insertions, 0 deletions