USB: cdc-acm: use get_icount tty operation
authorJohan Hovold <johan@kernel.org>
Tue, 8 Nov 2016 12:28:24 +0000 (13:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 12:16:57 +0000 (13:16 +0100)
commitbb2d387c4d90f5b400b94a0fcb5aaef31dfc0789
tree972a8de60bd4e9df7983b9bed0701d6954e9bff1
parent04cbf3832bbe21ac473e6b79571fce0c7f10a087
USB: cdc-acm: use get_icount tty operation

Use the tty get_icount operation instead of implementing TIOCGICOUNT
directly.

Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/cdc-acm.c