USB: usbserial: mos7720: cleanup, consolidation, replace send_mos_cmd with {read...
authorMike Dunn <mikedunn@newsguy.com>
Thu, 15 Apr 2010 21:02:09 +0000 (17:02 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:39 +0000 (13:21 -0700)
commit63b917678fe6d63e633462b5be5a309511bcf3ca
tree2d03d66392268b94d0f1b69a7a194470b99a2013
parentb69578df7e98659b7d94c905971a6d1025b431ad
USB: usbserial: mos7720: cleanup, consolidation, replace send_mos_cmd with {read,write}_mos_reg

No functionality added or bugs fixed, just improved code consistency and
(hopefully) readability by replacing send_mos_cmd with the register read & write
functions that were used for parallel port registers.  Also shortens overall
file length.

Thoroughly tested, with emphasis on regression testing the serial port.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7720.c