aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-05-13 17:26:23 -0400
committerLuciano Coelho <coelho@ti.com>2011-06-27 03:15:47 -0400
commitba2274c68e103271ba0c70fb8ad9afb4ede42d20 (patch)
treec9142384aa188f5ca7f36de30e6f131827cf0806 /drivers
parent4c4cdfa12f389f0addbbbb6ac984997498a3c3af (diff)
net: wl12xx: remove unnecessary prints
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/wl12xx/spi.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/net/wireless/wl12xx/spi.c b/drivers/net/wireless/wl12xx/spi.c
index 51662bb68019..b73cee117ada 100644
--- a/drivers/net/wireless/wl12xx/spi.c
+++ b/drivers/net/wireless/wl12xx/spi.c
@@ -435,8 +435,6 @@ static int __devinit wl1271_probe(struct spi_device *spi)
435 if (ret) 435 if (ret)
436 goto out_irq; 436 goto out_irq;
437 437
438 wl1271_notice("initialized");
439
440 return 0; 438 return 0;
441 439
442 out_irq: 440 out_irq:
@@ -473,23 +471,12 @@ static struct spi_driver wl1271_spi_driver = {
473 471
474static int __init wl1271_init(void) 472static int __init wl1271_init(void)
475{ 473{
476 int ret; 474 return spi_register_driver(&wl1271_spi_driver);
477
478 ret = spi_register_driver(&wl1271_spi_driver);
479 if (ret < 0) {
480 wl1271_error("failed to register spi driver: %d", ret);
481 goto out;
482 }
483
484out:
485 return ret;
486} 475}
487 476
488static void __exit wl1271_exit(void) 477static void __exit wl1271_exit(void)
489{ 478{
490 spi_unregister_driver(&wl1271_spi_driver); 479 spi_unregister_driver(&wl1271_spi_driver);
491
492 wl1271_notice("unloaded");
493} 480}
494 481
495module_init(wl1271_init); 482module_init(wl1271_init);