Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289507
b: refs/heads/master
c: e7414d9
h: refs/heads/master
i:
  289505: f6f16b7
  289503: 69e9f4f
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Feb 28, 2012
1 parent dff30d8 commit 34a268c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 964e2b8425f5f37baa4f1fe6c15cdaf258d5cb51
refs/heads/master: e7414d9a6d71027a2a0e8e4af6ef3cca7eaef80a
37 changes: 1 addition & 36 deletions trunk/drivers/usb/serial/mos7840.c
Original file line number Diff line number Diff line change
Expand Up @@ -2676,43 +2676,8 @@ static struct usb_serial_driver * const serial_drivers[] = {
&moschip7840_4port_device, NULL
};

/****************************************************************************
* moschip7840_init
* This is called by the module subsystem, or on startup to initialize us
****************************************************************************/
static int __init moschip7840_init(void)
{
int retval;

dbg("%s", " mos7840_init :entering..........");

retval = usb_serial_register_drivers(&io_driver, serial_drivers);
if (retval == 0)
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
DRIVER_DESC "\n");

dbg("%s", "Leaving...");
return retval;
}

/****************************************************************************
* moschip7840_exit
* Called when the driver is about to be unloaded.
****************************************************************************/
static void __exit moschip7840_exit(void)
{

dbg("%s", " mos7840_exit :entering..........");

usb_serial_deregister_drivers(&io_driver, serial_drivers);

dbg("%s", "Entering...");
}

module_init(moschip7840_init);
module_exit(moschip7840_exit);
module_usb_serial_driver(io_driver, serial_drivers);

/* Module information */
MODULE_DESCRIPTION(DRIVER_DESC);
MODULE_LICENSE("GPL");

Expand Down

0 comments on commit 34a268c

Please sign in to comment.