Skip to content

Commit

Permalink
staging: comedi: vmk80xx: consistently use the same local var names
Browse files Browse the repository at this point in the history
Rename some of the local variables used in this driver to make the
code easier to maintain and understand.

s/udev/usb	the usb_device that the comedi_driver is attached to
s/dev/devpriv	the private data of the comedi_device
s/cdev/dev	the comedi_device

Also, use some local variables in a couple of the functions to tidy
up the code a bit.

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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Feb 6, 2013
1 parent dc49cbf commit da7b18e
Showing 1 changed file with 290 additions and 276 deletions.
Loading

0 comments on commit da7b18e

Please sign in to comment.