]> err.no Git - linux-2.6/commitdiff
[PATCH] i82092: wire up errors from pci_register_driver()
authorAlexey Dobriyan <adobriyan@gmail.com>
Fri, 20 Oct 2006 21:44:13 +0000 (14:44 -0700)
committerDominik Brodowski <linux@dominikbrodowski.net>
Thu, 26 Oct 2006 01:59:42 +0000 (21:59 -0400)
debugging goo removed to not leave assymetry in it after possible "leave"
removal.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/i82092.c

index d316d956f3b167d23d429af35547103a5f98b147..c2ea07aa7a124968be057da0678a5aeafc85e43d 100644 (file)
@@ -709,10 +709,7 @@ static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_
 
 static int i82092aa_module_init(void)
 {
-       enter("i82092aa_module_init");
-       pci_register_driver(&i82092aa_pci_drv);
-       leave("i82092aa_module_init");
-       return 0;
+       return pci_register_driver(&i82092aa_pci_drv);
 }
 
 static void i82092aa_module_exit(void)