staging: comedi: dt9812: rename 'comedi' variable in struct slot_dt9812
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:21:39 +0000 (14:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:53 +0000 (16:25 -0700)
commit98c83cfac3a6c410497ac16a88e1424e0a57e265
tree9699c5144057d666bff3423718e49758c071a8cb
parent415227c130db90d5b3db8aff5782af21deba78c5
staging: comedi: dt9812: rename 'comedi' variable in struct slot_dt9812

Because of the usb (*probe) and comedi (*attach) disconnect, the struct
slot_dt9812 is used to pass the device data between the usb_driver and
the comedi_driver. The variable 'comedi' in this struct is used during
the comedi (*attach) to indicate if a slot is currently being used.

For aesthetic reasons, rename the variable to 'devpriv' since that is
what is actually saved in the pointer.

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