]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: usbduxsigma: move usb_set_intfdata(intf, NULL) to (*detach)
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:55:48 +0000 (12:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:58 +0000 (20:40 +0900)
commit137beb77c7ce3326f78622f8a309b3c8752b0e62
tree377ae61a801df81721ad8b3d172807a561b3fcc9
parent1fc56e86e49c93e426937377fc485734a81870da
staging: comedi: usbduxsigma: move usb_set_intfdata(intf, NULL) to (*detach)

For aesthetic reasons, move the clearing of the interface data to
the (*detach) since its set in the (*auto_attach).

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/usbduxsigma.c