USB: visor: reimplement using generic framework
authorJohan Hovold <jhovold@gmail.com>
Sat, 15 May 2010 15:53:49 +0000 (17:53 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:48 +0000 (13:21 -0700)
commit214916f2ec6701e1c9972f26c60b3dc37d3153c6
treed3aa9b0e5d0861ff9b17fdd99982b639a6fe9c81
parent199b113978015309dd02c69844c19a1be3f4dbcf
USB: visor: reimplement using generic framework

Kill custom read and write implementations (dynamically allocated write
urbs).

Note that I chose to remove the stat module parameter which was supposed
to keep count of the amount of data sent and received, but which has
been broken for three years (since b308e74d9c708ee2a9af14fbe235e0a41216f4ed
"USB: visor driver adapted to new tty buffering" -- bytes_in was
incorrectly updated and was thus always reported as 0).

Compile-only tested.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/visor.c