]> err.no Git - linux-2.6/commitdiff
[PATCH] USBATM: remove .owner
authorDuncan Sands <baldrick@free.fr>
Fri, 13 Jan 2006 08:36:20 +0000 (09:36 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 01:23:39 +0000 (17:23 -0800)
Remove the unused .owner field in struct usbatm_driver.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/cxacru.c
drivers/usb/atm/speedtch.c
drivers/usb/atm/ueagle-atm.c
drivers/usb/atm/usbatm.h
drivers/usb/atm/xusbatm.c

index fc130b2171aa2073fb80b5769d69663b96aef584..0b02a6d9f243330b084a0070c3066fc5dea844aa 100644 (file)
@@ -833,7 +833,6 @@ static const struct usb_device_id cxacru_usb_ids[] = {
 MODULE_DEVICE_TABLE(usb, cxacru_usb_ids);
 
 static struct usbatm_driver cxacru_driver = {
-       .owner          = THIS_MODULE,
        .driver_name    = cxacru_driver_name,
        .bind           = cxacru_bind,
        .heavy_init     = cxacru_heavy_init,
index 7b60d159dbed96910662fcd8154add718aa7ee98..1aca0b08f1927f89e444776acd209a54c290111c 100644 (file)
@@ -793,7 +793,6 @@ static void speedtch_unbind(struct usbatm_data *usbatm, struct usb_interface *in
 ***********/
 
 static struct usbatm_driver speedtch_usbatm_driver = {
-       .owner          = THIS_MODULE,
        .driver_name    = speedtch_driver_name,
        .bind           = speedtch_bind,
        .heavy_init     = speedtch_heavy_init,
index 3ba896291eb4937e465254704533aec8fef55c3f..aa072ad953a67593c937dcd804d0fce769192d67 100644 (file)
@@ -1629,7 +1629,7 @@ static int uea_bind(struct usbatm_data *usbatm, struct usb_interface *intf,
        if (ifnum != UEA_INTR_IFACE_NO)
                return -ENODEV;
 
-       usbatm_instance->flags = (sync_wait[modem_index] ? 0 : UDSL_SKIP_HEAVY_INIT);
+       usbatm->flags = (sync_wait[modem_index] ? 0 : UDSL_SKIP_HEAVY_INIT);
 
        /* interface 1 is for outbound traffic */
        ret = claim_interface(usb, usbatm, UEA_US_IFACE_NO);
@@ -1701,7 +1701,6 @@ static void uea_unbind(struct usbatm_data *usbatm, struct usb_interface *intf)
 
 static struct usbatm_driver uea_usbatm_driver = {
        .driver_name = "ueagle-atm",
-       .owner = THIS_MODULE,
        .bind = uea_bind,
        .atm_start = uea_atm_open,
        .unbind = uea_unbind,
index b29eb807f2038d151a268630ad7e8dc0d5a4a43f..4b923a83555e2704f8a095a9e006185f57299ca5 100644 (file)
@@ -100,8 +100,6 @@ struct usbatm_data;
 */
 
 struct usbatm_driver {
-       struct module *owner;
-
        const char *driver_name;
 
        /* init device ... can sleep, or cause probe() failure */
index 172c821743971df8012d8c709659bc39650fcbfc..ad5d3ff88dd91be1a1bc77d7c6dc3271c55ecd50 100644 (file)
@@ -166,7 +166,6 @@ static int __init xusbatm_init(void)
                xusbatm_usb_ids[i].idProduct    = product[i];
 
 
-               xusbatm_drivers[i].owner        = THIS_MODULE;
                xusbatm_drivers[i].driver_name  = xusbatm_driver_name;
                xusbatm_drivers[i].bind         = xusbatm_bind;
                xusbatm_drivers[i].unbind       = xusbatm_unbind;