From: Libo Chen <clbchenlibo.chen@xxxxxxxxxx> Subject: drivers/scsi/mvumi.c: convert to module_pci_driver Signed-off-by: Libo Chen <libo.chen@xxxxxxxxxx> Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/scsi/mvumi.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff -puN drivers/scsi/mvumi.c~drivers-scsi-mvumi-convert-to-module_pci_driver drivers/scsi/mvumi.c --- a/drivers/scsi/mvumi.c~drivers-scsi-mvumi-convert-to-module_pci_driver +++ a/drivers/scsi/mvumi.c @@ -2735,22 +2735,4 @@ static struct pci_driver mvumi_pci_drive #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); _ -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html