]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4d518353812b8d0fef3eb57507d9437cc61e6d0
treed3aa9b0e5d0861ff9b17fdd99982b639a6fe9c81
parentef5ef2c1c45b1d60fe3aaa735494f9e459332103
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 fee52598a5132153b679001e571f84103da9b126
"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