staging: greybus: use get_icount tty operation
authorJohan Hovold <johan@kernel.org>
Tue, 8 Nov 2016 12:31:19 +0000 (13:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 13:06:23 +0000 (14:06 +0100)
commit424a4b595e35df700314ca528ea91483edef9636
tree826611fb40e8c166e089b1a10fb6b5093dc0190c
parent4807f2c0e684e907c501cb96049809d7a957dbc2
staging: greybus: use get_icount tty operation

Use the tty get_icount operation instead of implementing TIOCGICOUNT
directly.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/uart.c