aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2006-01-13 03:36:20 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-31 20:23:39 -0500
commit0dfcd3e4444e88285ee7c199d0cbda21551d8c5d (patch)
tree9f2022f47e3711479f672ee7a7ea6224ebac0545 /drivers/usb
parent35644b0cce0ab8735944dcbfceb19e9e65da9a3d (diff)
[PATCH] USBATM: remove .owner
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/atm/cxacru.c1
-rw-r--r--drivers/usb/atm/speedtch.c1
-rw-r--r--drivers/usb/atm/ueagle-atm.c3
-rw-r--r--drivers/usb/atm/usbatm.h2
-rw-r--r--drivers/usb/atm/xusbatm.c1
5 files changed, 1 insertions, 7 deletions
diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c
index fc130b2171aa..0b02a6d9f243 100644
--- a/drivers/usb/atm/cxacru.c
+++ b/drivers/usb/atm/cxacru.c
@@ -833,7 +833,6 @@ static const struct usb_device_id cxacru_usb_ids[] = {
833MODULE_DEVICE_TABLE(usb, cxacru_usb_ids); 833MODULE_DEVICE_TABLE(usb, cxacru_usb_ids);
834 834
835static struct usbatm_driver cxacru_driver = { 835static struct usbatm_driver cxacru_driver = {
836 .owner = THIS_MODULE,
837 .driver_name = cxacru_driver_name, 836 .driver_name = cxacru_driver_name,
838 .bind = cxacru_bind, 837 .bind = cxacru_bind,
839 .heavy_init = cxacru_heavy_init, 838 .heavy_init = cxacru_heavy_init,
diff --git a/drivers/usb/atm/speedtch.c b/drivers/usb/atm/speedtch.c
index 7b60d159dbed..1aca0b08f192 100644
--- a/drivers/usb/atm/speedtch.c
+++ b/drivers/usb/atm/speedtch.c
@@ -793,7 +793,6 @@ static void speedtch_unbind(struct usbatm_data *usbatm, struct usb_interface *in
793***********/ 793***********/
794 794
795static struct usbatm_driver speedtch_usbatm_driver = { 795static struct usbatm_driver speedtch_usbatm_driver = {
796 .owner = THIS_MODULE,
797 .driver_name = speedtch_driver_name, 796 .driver_name = speedtch_driver_name,
798 .bind = speedtch_bind, 797 .bind = speedtch_bind,
799 .heavy_init = speedtch_heavy_init, 798 .heavy_init = speedtch_heavy_init,
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c
index 3ba896291eb4..aa072ad953a6 100644
--- a/drivers/usb/atm/ueagle-atm.c
+++ b/drivers/usb/atm/ueagle-atm.c
@@ -1629,7 +1629,7 @@ static int uea_bind(struct usbatm_data *usbatm, struct usb_interface *intf,
1629 if (ifnum != UEA_INTR_IFACE_NO) 1629 if (ifnum != UEA_INTR_IFACE_NO)
1630 return -ENODEV; 1630 return -ENODEV;
1631 1631
1632 usbatm_instance->flags = (sync_wait[modem_index] ? 0 : UDSL_SKIP_HEAVY_INIT); 1632 usbatm->flags = (sync_wait[modem_index] ? 0 : UDSL_SKIP_HEAVY_INIT);
1633 1633
1634 /* interface 1 is for outbound traffic */ 1634 /* interface 1 is for outbound traffic */
1635 ret = claim_interface(usb, usbatm, UEA_US_IFACE_NO); 1635 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)
1701 1701
1702static struct usbatm_driver uea_usbatm_driver = { 1702static struct usbatm_driver uea_usbatm_driver = {
1703 .driver_name = "ueagle-atm", 1703 .driver_name = "ueagle-atm",
1704 .owner = THIS_MODULE,
1705 .bind = uea_bind, 1704 .bind = uea_bind,
1706 .atm_start = uea_atm_open, 1705 .atm_start = uea_atm_open,
1707 .unbind = uea_unbind, 1706 .unbind = uea_unbind,
diff --git a/drivers/usb/atm/usbatm.h b/drivers/usb/atm/usbatm.h
index b29eb807f203..4b923a83555e 100644
--- a/drivers/usb/atm/usbatm.h
+++ b/drivers/usb/atm/usbatm.h
@@ -100,8 +100,6 @@ struct usbatm_data;
100*/ 100*/
101 101
102struct usbatm_driver { 102struct usbatm_driver {
103 struct module *owner;
104
105 const char *driver_name; 103 const char *driver_name;
106 104
107 /* init device ... can sleep, or cause probe() failure */ 105 /* init device ... can sleep, or cause probe() failure */
diff --git a/drivers/usb/atm/xusbatm.c b/drivers/usb/atm/xusbatm.c
index 172c82174397..ad5d3ff88dd9 100644
--- a/drivers/usb/atm/xusbatm.c
+++ b/drivers/usb/atm/xusbatm.c
@@ -166,7 +166,6 @@ static int __init xusbatm_init(void)
166 xusbatm_usb_ids[i].idProduct = product[i]; 166 xusbatm_usb_ids[i].idProduct = product[i];
167 167
168 168
169 xusbatm_drivers[i].owner = THIS_MODULE;
170 xusbatm_drivers[i].driver_name = xusbatm_driver_name; 169 xusbatm_drivers[i].driver_name = xusbatm_driver_name;
171 xusbatm_drivers[i].bind = xusbatm_bind; 170 xusbatm_drivers[i].bind = xusbatm_bind;
172 xusbatm_drivers[i].unbind = xusbatm_unbind; 171 xusbatm_drivers[i].unbind = xusbatm_unbind;