net: wl12xx: remove some unnecessary prints
authorFelipe Balbi <balbi@ti.com>
Fri, 13 May 2011 21:26:20 +0000 (00:26 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 07:15:45 +0000 (10:15 +0300)
Those have little value. Remove those to make
the driver less noisy.

Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/sdio.c

index d6dd49ace11e713b2fc85042d34d0aa1453b3b10..3b78ab57bccde62fe51f0388b20d3a581513d502 100644 (file)
@@ -303,8 +303,6 @@ static int __devinit wl1271_probe(struct sdio_func *func,
        /* Tell PM core that we don't need the card to be powered now */
        pm_runtime_put_noidle(&func->dev);
 
-       wl1271_notice("initialized");
-
        return 0;
 
  out_irq:
@@ -402,23 +400,12 @@ static struct sdio_driver wl1271_sdio_driver = {
 
 static int __init wl1271_init(void)
 {
-       int ret;
-
-       ret = sdio_register_driver(&wl1271_sdio_driver);
-       if (ret < 0) {
-               wl1271_error("failed to register sdio driver: %d", ret);
-               goto out;
-       }
-
-out:
-       return ret;
+       return sdio_register_driver(&wl1271_sdio_driver);
 }
 
 static void __exit wl1271_exit(void)
 {
        sdio_unregister_driver(&wl1271_sdio_driver);
-
-       wl1271_notice("unloaded");
 }
 
 module_init(wl1271_init);