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

Alexey Dobriyan adobriyan at gmail.com
Mon Aug 14 20:14:47 EDT 2006


debugging goo removed to not leave assymetry in it after possible
"leave" removal.

Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
---

 drivers/pcmcia/i82092.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

--- a/drivers/pcmcia/i82092.c
+++ b/drivers/pcmcia/i82092.c
@@ -705,10 +705,7 @@ static int i82092aa_set_mem_map(struct p
 
 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)




More information about the linux-pcmcia mailing list