]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: comedi: usbduxfast: remove 'owner' from usb_driver
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 14 May 2013 20:28:02 +0000 (13:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2013 23:24:18 +0000 (16:24 -0700)
The struct usb_driver does not have an 'owner' field. Remove the
code in this driver that initializes it.

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

index 7660976cfd11391d1126d17eaf46735c00ddf1c2..1cd6d9252805d9158c4190fe2881c2fc7c99c63d 100644 (file)
@@ -1613,9 +1613,6 @@ static const struct usb_device_id usbduxfast_usb_table[] = {
 MODULE_DEVICE_TABLE(usb, usbduxfast_usb_table);
 
 static struct usb_driver usbduxfast_usb_driver = {
-#ifdef COMEDI_HAVE_USB_DRIVER_OWNER
-       .owner          = THIS_MODULE,
-#endif
        .name           = "usbduxfast",
        .probe          = usbduxfast_usb_probe,
        .disconnect     = usbduxfast_usb_disconnect,