USB: ftdi_sio: use generic chars_in_buffer
authorJohan Hovold <jhovold@gmail.com>
Mon, 29 Oct 2012 09:56:26 +0000 (10:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 Oct 2012 20:19:32 +0000 (13:19 -0700)
commit755b6040fa62eab9d9105359cd5884910eef2df4
tree5c2e9dab8120c301516b663d1fae5101b19d71b4
parent428d9988557f0f26047af304cf1f3d130b06ed4d
USB: ftdi_sio: use generic chars_in_buffer

Use generic chars_in_buffer rather than copying it's implementation.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ftdi_sio.c