summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-10-20 14:44:13 -0700
committerDominik Brodowski <linux@dominikbrodowski.net>2006-10-25 21:59:42 -0400
commitf465ce176fb2f1778a04fc3fcb2b8aa564901419 (patch)
tree286fdbc7383a4a8173d110348c554b1596400b68
parentf237de58b13bf65ba2f7fab896daacb92ae7ddef (diff)
downloadlinux-f465ce176fb2f1778a04fc3fcb2b8aa564901419.tar.gz
linux-f465ce176fb2f1778a04fc3fcb2b8aa564901419.tar.bz2
linux-f465ce176fb2f1778a04fc3fcb2b8aa564901419.zip
[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>
-rw-r--r--drivers/pcmcia/i82092.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pcmcia/i82092.c b/drivers/pcmcia/i82092.c
index d316d956f3b1..c2ea07aa7a12 100644
--- a/drivers/pcmcia/i82092.c
+++ b/drivers/pcmcia/i82092.c
@@ -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)