Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2a69f0b authored by Libo Chen's avatar Libo Chen Committed by David S. Miller
Browse files

drivers/atm/he.c: convert to module_pci_driver



Signed-off-by: default avatarLibo Chen <libo.chen@huawei.com>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c9771bfd
Loading
Loading
Loading
Loading
+1 −12
Original line number Diff line number Diff line
@@ -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);