From: Libo Chen Date: Wed, 19 Jun 2013 00:05:37 +0000 (+1000) Subject: drivers/atm/he.c: convert to module_pci_driver X-Git-Tag: next-20130619~2^2~606 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=baa622cc811bbf473a7158790da1fe637e74417e;p=karo-tx-linux.git drivers/atm/he.c: convert to module_pci_driver Signed-off-by: Libo Chen Cc: Chas Williams Signed-off-by: Andrew Morton --- diff --git a/drivers/atm/he.c b/drivers/atm/he.c index 507362a76a73..80f9743f596a 100644 --- a/drivers/atm/he.c +++ b/drivers/atm/he.c @@ -2872,15 +2872,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);