[PATCH] i82092: wire up errors from pci_register_driver()

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>
This commit is contained in:
Alexey Dobriyan 2006-10-20 14:44:13 -07:00 committed by Dominik Brodowski
parent f237de58b1
commit f465ce176f

View 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)