]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: dt9812: tidy up the usb endpoint enumeration
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:26:54 +0000 (14:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:58 +0000 (16:25 -0700)
commit387d4879500cfc4b887740643061336916f587fb
tree893409dfa6325d855685138910f2bc0402e13ecf
parent9d231df80dbaa9918061310149c24bfc3864ca96
staging: comedi: dt9812: tidy up the usb endpoint enumeration

Only the command_{write,read} usb endpoints are used by this driver.

Remove the message_pipe, and {read,write}_stream endpoint information
from the usb private data.

Rename the variables used for command endpoints to help keep the
lines < 80 chars.

Also, rename a couple of the local variables used to enumerate the
endpoints to also help keep the lines < 80 chars.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/dt9812.c