From: Libo Chen Date: Wed, 19 Jun 2013 00:05:43 +0000 (+1000) Subject: drivers/scsi/mvumi.c: convert to module_pci_driver X-Git-Tag: next-20130619~2^2~588 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=789f18d34cec15fd9e93a4321e210f68d80131d3;p=karo-tx-linux.git drivers/scsi/mvumi.c: convert to module_pci_driver Signed-off-by: Libo Chen Cc: James Bottomley Signed-off-by: Andrew Morton --- diff --git a/drivers/scsi/mvumi.c b/drivers/scsi/mvumi.c index c3601b57a80c..d0b6a0320d94 100644 --- a/drivers/scsi/mvumi.c +++ b/drivers/scsi/mvumi.c @@ -2735,22 +2735,4 @@ static struct pci_driver mvumi_pci_driver = { #endif }; -/** - * mvumi_init - Driver load entry point - */ -static int __init mvumi_init(void) -{ - return pci_register_driver(&mvumi_pci_driver); -} - -/** - * mvumi_exit - Driver unload entry point - */ -static void __exit mvumi_exit(void) -{ - - pci_unregister_driver(&mvumi_pci_driver); -} - -module_init(mvumi_init); -module_exit(mvumi_exit); +module_pci_driver(mvumi_pci_driver);