Skip to content

Commit

Permalink
drivers/atm/he.c: convert to module_pci_driver
Browse files Browse the repository at this point in the history
Signed-off-by: Libo Chen <libo.chen@huawei.com>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Libo Chen authored and David S. Miller committed Sep 14, 2013
1 parent c9771bf commit a2a69f0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions drivers/atm/he.c
Original file line number Diff line number Diff line change
Expand Up @@ -2865,15 +2865,4 @@ static struct pci_driver he_driver = {
.id_table = he_pci_tbl,
};

static int __init he_init(void)
{
return pci_register_driver(&he_driver);
}

static void __exit he_cleanup(void)
{
pci_unregister_driver(&he_driver);
}

module_init(he_init);
module_exit(he_cleanup);
module_pci_driver(he_driver);

0 comments on commit a2a69f0

Please sign in to comment.