]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: dt9812: remove 'interface' from usb private data
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 21:28:51 +0000 (14:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:25:59 +0000 (16:25 -0700)
commit8f5669376dbb16ecb97618749fa3e69105eb4544
tree8184a3ed4ff0d4dd6a8758aae92d8b7ca2af38a8
parent135a0009a5ff601e2c68dfd6b280f42e43711c23
staging: comedi: dt9812: remove 'interface' from usb private data

The usb_interface * is only used in the usb (*probe) and (*disconnect).
Remove the pointer to the 'interface' in the usb private data.

For aesthetic reasons, rename the variable 'interface' to simply
'intf' in the (*probe) and (*disconnect).

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