speedtch cxacru.c, 1.41, 1.42 speedtch.c, 1.73, 1.74 testatm.c, 1.8, 1.9 usbatm.h, 1.29, 1.30 xusbatm.c, 1.20, 1.21

Duncan Sands duncan at infradead.org
Tue Jan 10 18:02:31 EST 2006


Update of /home/cvs/speedtch
In directory phoenix.infradead.org:/tmp/cvs-serv32292

Modified Files:
	cxacru.c speedtch.c testatm.c usbatm.h xusbatm.c 
Log Message:
Removed unused module owner field.


Index: cxacru.c
===================================================================
RCS file: /home/cvs/speedtch/cxacru.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- cxacru.c	10 Jan 2006 17:12:39 -0000	1.41
+++ cxacru.c	10 Jan 2006 23:02:27 -0000	1.42
@@ -831,7 +831,6 @@
 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: speedtch.c
===================================================================
RCS file: /home/cvs/speedtch/speedtch.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- speedtch.c	10 Jan 2006 17:11:33 -0000	1.73
+++ speedtch.c	10 Jan 2006 23:02:27 -0000	1.74
@@ -860,7 +860,6 @@
 ***********/
 
 static struct usbatm_driver speedtch_usbatm_driver = {
-	.owner		= THIS_MODULE,
 	.driver_name	= speedtch_driver_name,
 	.bind		= speedtch_bind,
 	.heavy_init	= speedtch_heavy_init,

Index: testatm.c
===================================================================
RCS file: /home/cvs/speedtch/testatm.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- testatm.c	20 Nov 2005 13:29:59 -0000	1.8
+++ testatm.c	10 Jan 2006 23:02:27 -0000	1.9
@@ -115,17 +115,14 @@
 
 static struct usbatm_driver testatm_drivers[] = {
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_0"
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_1",
 
 		.bind		= refuse_bind
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_2",
 
 		.bind		= accept_bind,
@@ -133,7 +130,6 @@
 		.atm_start	= refuse_atm
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_3",
 
 		.bind		= accept_bind,
@@ -143,7 +139,6 @@
 		.atm_stop	= testatm_atm_stop
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_4",
 
 		.bind		= accept_bind,
@@ -154,7 +149,6 @@
 		.atm_start	= refuse_atm
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_5",
 
 		.bind		= accept_bind,
@@ -165,7 +159,6 @@
 		.atm_start	= refuse_atm
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_6",
 
 		.bind		= accept_bind,
@@ -177,7 +170,6 @@
 		.atm_stop	= testatm_atm_stop
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_7",
 
 		.bind		= accept_bind,
@@ -189,7 +181,6 @@
 		.atm_stop	= testatm_atm_stop
 	},
 	{
-		.owner          = THIS_MODULE,
 	        .driver_name    = "testatm_8",
 
 		.bind		= claim_bind,
@@ -209,7 +200,6 @@
 };
 
 static struct usb_driver testatm_usb_driver = {
-	.owner		= THIS_MODULE,
 	.name		= "testatm",
 	.probe		= testatm_usb_probe,
 	.disconnect	= usbatm_usb_disconnect,

Index: usbatm.h
===================================================================
RCS file: /home/cvs/speedtch/usbatm.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- usbatm.h	10 Jan 2006 17:05:45 -0000	1.29
+++ usbatm.h	10 Jan 2006 23:02:28 -0000	1.30
@@ -101,8 +101,6 @@
 */
 
 struct usbatm_driver {
-	struct module *owner;
-
 	const char *driver_name;
 
 	/* init device ... can sleep, or cause probe() failure */

Index: xusbatm.c
===================================================================
RCS file: /home/cvs/speedtch/xusbatm.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- xusbatm.c	10 Jan 2006 17:04:28 -0000	1.20
+++ xusbatm.c	10 Jan 2006 23:02:28 -0000	1.21
@@ -206,7 +206,6 @@
 		xusbatm_usb_ids[i].idVendor	= vendor[i];
 		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;




More information about the Usbatm-commits mailing list