Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306109
b: refs/heads/master
c: 48bf7e1
h: refs/heads/master
i:
  306107: 29bfddc
v: v3
  • Loading branch information
Gianluca Gennari authored and Mauro Carvalho Chehab committed Apr 9, 2012
1 parent 4c9cfd0 commit 0881238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 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: ce1fe3799c0e92b9219ab123002d0383c5c3cc07
refs/heads/master: 48bf7e1a9dce24adf79ea118ef001e781fb0e2e4
26 changes: 1 addition & 25 deletions trunk/drivers/media/dvb/dvb-usb/af9035.c
Original file line number Diff line number Diff line change
Expand Up @@ -973,31 +973,7 @@ static struct usb_driver af9035_usb_driver = {
.id_table = af9035_id,
};

/* module stuff */
static int __init af9035_usb_module_init(void)
{
int ret;

ret = usb_register(&af9035_usb_driver);
if (ret < 0)
goto err;

return 0;

err:
pr_debug("%s: failed=%d\n", __func__, ret);

return ret;
}

static void __exit af9035_usb_module_exit(void)
{
/* deregister this driver from the USB subsystem */
usb_deregister(&af9035_usb_driver);
}

module_init(af9035_usb_module_init);
module_exit(af9035_usb_module_exit);
module_usb_driver(af9035_usb_driver);

MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>");
MODULE_DESCRIPTION("Afatech AF9035 driver");
Expand Down

0 comments on commit 0881238

Please sign in to comment.