Skip to content

Commit

Permalink
[PATCH] USB: remove .owner field from struct usb_driver
Browse files Browse the repository at this point in the history
It is no longer needed, so let's remove it, saving a bit of memory.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 4, 2006
1 parent 2143acc commit 75318d2
Show file tree
Hide file tree
Showing 125 changed files with 0 additions and 128 deletions.
1 change: 0 additions & 1 deletion drivers/block/ub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2460,7 +2460,6 @@ static void ub_disconnect(struct usb_interface *intf)
}

static struct usb_driver ub_driver = {
.owner = THIS_MODULE,
.name = "ub",
.probe = ub_probe,
.disconnect = ub_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/bluetooth/bcm203x.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ static void bcm203x_disconnect(struct usb_interface *intf)
}

static struct usb_driver bcm203x_driver = {
.owner = THIS_MODULE,
.name = "bcm203x",
.probe = bcm203x_probe,
.disconnect = bcm203x_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/bluetooth/bfusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,6 @@ static void bfusb_disconnect(struct usb_interface *intf)
}

static struct usb_driver bfusb_driver = {
.owner = THIS_MODULE,
.name = "bfusb",
.probe = bfusb_probe,
.disconnect = bfusb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/bluetooth/bpa10x.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,6 @@ static void bpa10x_disconnect(struct usb_interface *intf)
}

static struct usb_driver bpa10x_driver = {
.owner = THIS_MODULE,
.name = "bpa10x",
.probe = bpa10x_probe,
.disconnect = bpa10x_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/bluetooth/hci_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,6 @@ static void hci_usb_disconnect(struct usb_interface *intf)
}

static struct usb_driver hci_usb_driver = {
.owner = THIS_MODULE,
.name = "hci_usb",
.probe = hci_usb_probe,
.disconnect = hci_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/char/watchdog/pcwd_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ static void usb_pcwd_disconnect (struct usb_interface *interface);

/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver usb_pcwd_driver = {
.owner = THIS_MODULE,
.name = DRIVER_NAME,
.probe = usb_pcwd_probe,
.disconnect = usb_pcwd_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/input/joystick/iforce/iforce-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ static struct usb_device_id iforce_usb_ids [] = {
MODULE_DEVICE_TABLE (usb, iforce_usb_ids);

struct usb_driver iforce_usb_driver = {
.owner = THIS_MODULE,
.name = "iforce",
.probe = iforce_usb_probe,
.disconnect = iforce_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/isdn/hisax/hfc_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1715,7 +1715,6 @@ hfc_usb_disconnect(struct usb_interface
/* our driver information structure */
/************************************/
static struct usb_driver hfc_drv = {
.owner = THIS_MODULE,
.name = "hfc_usb",
.id_table = hfcusb_idtab,
.probe = hfc_usb_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/isdn/hisax/st5481_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ static struct usb_device_id st5481_ids[] = {
MODULE_DEVICE_TABLE (usb, st5481_ids);

static struct usb_driver st5481_usb_driver = {
.owner = THIS_MODULE,
.name = "st5481_usb",
.probe = probe_st5481,
.disconnect = disconnect_st5481,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/b2c2/flexcop-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,6 @@ static struct usb_device_id flexcop_usb_table [] = {

/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver flexcop_usb_driver = {
.owner = THIS_MODULE,
.name = "b2c2_flexcop_usb",
.probe = flexcop_usb_probe,
.disconnect = flexcop_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/cinergyT2/cinergyT2.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,6 @@ static const struct usb_device_id cinergyt2_table [] __devinitdata = {
MODULE_DEVICE_TABLE(usb, cinergyt2_table);

static struct usb_driver cinergyt2_driver = {
.owner = THIS_MODULE,
.name = "cinergyT2",
.probe = cinergyt2_probe,
.disconnect = cinergyt2_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/a800.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ static struct dvb_usb_properties a800_properties = {
};

static struct usb_driver a800_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_a800",
.probe = a800_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/cxusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ static struct dvb_usb_properties cxusb_properties = {
};

static struct usb_driver cxusb_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_cxusb",
.probe = cxusb_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/dibusb-mb.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,6 @@ static struct dvb_usb_properties artec_t1_usb2_properties = {
};

static struct usb_driver dibusb_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_dibusb_mb",
.probe = dibusb_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/dibusb-mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ static struct dvb_usb_properties dibusb_mc_properties = {
};

static struct usb_driver dibusb_mc_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_dibusb_mc",
.probe = dibusb_mc_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/digitv.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ static struct dvb_usb_properties digitv_properties = {
};

static struct usb_driver digitv_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_digitv",
.probe = digitv_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/dtt200u.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ static struct dvb_usb_properties wt220u_properties = {

/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver dtt200u_usb_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_dtt200u",
.probe = dtt200u_usb_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/nova-t-usb2.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ static struct dvb_usb_properties nova_t_properties = {
};

static struct usb_driver nova_t_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_nova_t_usb2",
.probe = nova_t_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/umt-010.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ static struct dvb_usb_properties umt_properties = {
};

static struct usb_driver umt_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_umt_010",
.probe = umt_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/vp702x.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ static struct dvb_usb_properties vp702x_properties = {

/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver vp702x_usb_driver = {
.owner = THIS_MODULE,
.name = "dvb-usb-vp702x",
.probe = vp702x_usb_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/dvb/dvb-usb/vp7045.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ static struct dvb_usb_properties vp7045_properties = {

/* usb specific object needed to register this driver with the usb subsystem */
static struct usb_driver vp7045_usb_driver = {
.owner = THIS_MODULE,
.name = "dvb_usb_vp7045",
.probe = vp7045_usb_probe,
.disconnect = dvb_usb_device_exit,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/video/cpia_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,6 @@ MODULE_LICENSE("GPL");


static struct usb_driver cpia_driver = {
.owner = THIS_MODULE,
.name = "cpia",
.probe = cpia_probe,
.disconnect = cpia_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,6 @@ static void em28xx_usb_disconnect(struct usb_interface *interface)
}

static struct usb_driver em28xx_usb_driver = {
.owner = THIS_MODULE,
.name = "em28xx",
.probe = em28xx_usb_probe,
.disconnect = em28xx_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/net/irda/irda-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,6 @@ static void irda_usb_disconnect(struct usb_interface *intf)
* USB device callbacks
*/
static struct usb_driver irda_driver = {
.owner = THIS_MODULE,
.name = "irda-usb",
.probe = irda_usb_probe,
.disconnect = irda_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/net/irda/stir4200.c
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,6 @@ static int stir_resume(struct usb_interface *intf)
* USB device callbacks
*/
static struct usb_driver irda_driver = {
.owner = THIS_MODULE,
.name = "stir4200",
.probe = stir_probe,
.disconnect = stir_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/atm/cxacru.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,6 @@ static int cxacru_usb_probe(struct usb_interface *intf, const struct usb_device_
}

static struct usb_driver cxacru_usb_driver = {
.owner = THIS_MODULE,
.name = cxacru_driver_name,
.probe = cxacru_usb_probe,
.disconnect = usbatm_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/atm/speedtch.c
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,6 @@ MODULE_DEVICE_TABLE(usb, speedtch_usb_ids);
static int speedtch_usb_probe(struct usb_interface *, const struct usb_device_id *);

static struct usb_driver speedtch_usb_driver = {
.owner = THIS_MODULE,
.name = speedtch_driver_name,
.probe = speedtch_usb_probe,
.disconnect = usbatm_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/atm/ueagle-atm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,6 @@ static const struct usb_device_id uea_ids[] = {
* USB driver descriptor
*/
static struct usb_driver uea_driver = {
.owner = THIS_MODULE,
.name = "ueagle-atm",
.id_table = uea_ids,
.probe = uea_probe,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/atm/xusbatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ static int xusbatm_usb_probe(struct usb_interface *intf,
}

static struct usb_driver xusbatm_usb_driver = {
.owner = THIS_MODULE,
.name = xusbatm_driver_name,
.probe = xusbatm_usb_probe,
.disconnect = usbatm_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/class/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -2732,7 +2732,6 @@ static struct usb_device_id usb_audio_ids [] = {
MODULE_DEVICE_TABLE (usb, usb_audio_ids);

static struct usb_driver usb_audio_driver = {
.owner = THIS_MODULE,
.name = "audio",
.probe = usb_audio_probe,
.disconnect = usb_audio_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/class/cdc-acm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,6 @@ static struct usb_device_id acm_ids[] = {
MODULE_DEVICE_TABLE (usb, acm_ids);

static struct usb_driver acm_driver = {
.owner = THIS_MODULE,
.name = "cdc_acm",
.probe = acm_probe,
.disconnect = acm_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/class/usb-midi.c
Original file line number Diff line number Diff line change
Expand Up @@ -2027,7 +2027,6 @@ static struct usb_device_id id_table[] = {
};

static struct usb_driver usb_midi_driver = {
.owner = THIS_MODULE,
.name = "midi",
.probe = usb_midi_probe,
.disconnect = usb_midi_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/class/usblp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,6 @@ static struct usb_device_id usblp_ids [] = {
MODULE_DEVICE_TABLE (usb, usblp_ids);

static struct usb_driver usblp_driver = {
.owner = THIS_MODULE,
.name = "usblp",
.probe = usblp_probe,
.disconnect = usblp_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/core/devio.c
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ static void driver_disconnect(struct usb_interface *intf)
}

struct usb_driver usbfs_driver = {
.owner = THIS_MODULE,
.name = "usbfs",
.probe = driver_probe,
.disconnect = driver_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -2865,7 +2865,6 @@ static struct usb_device_id hub_id_table [] = {
MODULE_DEVICE_TABLE (usb, hub_id_table);

static struct usb_driver hub_driver = {
.owner = THIS_MODULE,
.name = "hub",
.probe = hub_probe,
.disconnect = hub_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/image/mdc800.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,6 @@ MODULE_DEVICE_TABLE (usb, mdc800_table);
*/
static struct usb_driver mdc800_usb_driver =
{
.owner = THIS_MODULE,
.name = "mdc800",
.probe = mdc800_usb_probe,
.disconnect = mdc800_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/image/microtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ static void mts_usb_disconnect(struct usb_interface *intf);
static struct usb_device_id mts_usb_ids [];

static struct usb_driver mts_usb_driver = {
.owner = THIS_MODULE,
.name = "microtekX6",
.probe = mts_usb_probe,
.disconnect = mts_usb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/acecad.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ static struct usb_device_id usb_acecad_id_table [] = {
MODULE_DEVICE_TABLE(usb, usb_acecad_id_table);

static struct usb_driver usb_acecad_driver = {
.owner = THIS_MODULE,
.name = "usb_acecad",
.probe = usb_acecad_probe,
.disconnect = usb_acecad_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/aiptek.c
Original file line number Diff line number Diff line change
Expand Up @@ -2190,7 +2190,6 @@ fail1: input_free_device(inputdev);
static void aiptek_disconnect(struct usb_interface *intf);

static struct usb_driver aiptek_driver = {
.owner = THIS_MODULE,
.name = "aiptek",
.probe = aiptek_probe,
.disconnect = aiptek_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/appletouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ static int atp_resume(struct usb_interface *iface)
}

static struct usb_driver atp_driver = {
.owner = THIS_MODULE,
.name = "appletouch",
.probe = atp_probe,
.disconnect = atp_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/ati_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,6 @@ static void ati_remote_disconnect (struct usb_interface *interface);

/* usb specific object to register with the usb subsystem */
static struct usb_driver ati_remote_driver = {
.owner = THIS_MODULE,
.name = "ati_remote",
.probe = ati_remote_probe,
.disconnect = ati_remote_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,6 @@ static struct usb_device_id hid_usb_ids [] = {
MODULE_DEVICE_TABLE (usb, hid_usb_ids);

static struct usb_driver hid_driver = {
.owner = THIS_MODULE,
.name = "usbhid",
.probe = hid_probe,
.disconnect = hid_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/hiddev.c
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,6 @@ static int hiddev_usbd_probe(struct usb_interface *intf,


static /* const */ struct usb_driver hiddev_driver = {
.owner = THIS_MODULE,
.name = "hiddev",
.probe = hiddev_usbd_probe,
};
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/itmtouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ static void itmtouch_disconnect(struct usb_interface *intf)
MODULE_DEVICE_TABLE(usb, itmtouch_ids);

static struct usb_driver itmtouch_driver = {
.owner = THIS_MODULE,
.name = "itmtouch",
.probe = itmtouch_probe,
.disconnect = itmtouch_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/kbtab.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ static void kbtab_disconnect(struct usb_interface *intf)
}

static struct usb_driver kbtab_driver = {
.owner = THIS_MODULE,
.name = "kbtab",
.probe = kbtab_probe,
.disconnect = kbtab_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/keyspan_remote.c
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ static void keyspan_disconnect(struct usb_interface *interface)
*/
static struct usb_driver keyspan_driver =
{
.owner = THIS_MODULE,
.name = "keyspan_remote",
.probe = keyspan_probe,
.disconnect = keyspan_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/mtouchusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ static void mtouchusb_disconnect(struct usb_interface *intf)
MODULE_DEVICE_TABLE(usb, mtouchusb_devices);

static struct usb_driver mtouchusb_driver = {
.owner = THIS_MODULE,
.name = "mtouchusb",
.probe = mtouchusb_probe,
.disconnect = mtouchusb_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/powermate.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ static struct usb_device_id powermate_devices [] = {
MODULE_DEVICE_TABLE (usb, powermate_devices);

static struct usb_driver powermate_driver = {
.owner = THIS_MODULE,
.name = "powermate",
.probe = powermate_probe,
.disconnect = powermate_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/touchkitusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ static void touchkit_disconnect(struct usb_interface *intf)
MODULE_DEVICE_TABLE(usb, touchkit_devices);

static struct usb_driver touchkit_driver = {
.owner = THIS_MODULE,
.name = "touchkitusb",
.probe = touchkit_probe,
.disconnect = touchkit_disconnect,
Expand Down
1 change: 0 additions & 1 deletion drivers/usb/input/usbkbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ static struct usb_device_id usb_kbd_id_table [] = {
MODULE_DEVICE_TABLE (usb, usb_kbd_id_table);

static struct usb_driver usb_kbd_driver = {
.owner = THIS_MODULE,
.name = "usbkbd",
.probe = usb_kbd_probe,
.disconnect = usb_kbd_disconnect,
Expand Down
Loading

0 comments on commit 75318d2

Please sign in to comment.