Commit ba2274c6 authored by Felipe Balbi's avatar Felipe Balbi Committed by Luciano Coelho

net: wl12xx: remove unnecessary prints

Those have little value. Remove those to
make the driver less noisy.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
parent 4c4cdfa1
...@@ -435,8 +435,6 @@ static int __devinit wl1271_probe(struct spi_device *spi) ...@@ -435,8 +435,6 @@ static int __devinit wl1271_probe(struct spi_device *spi)
if (ret) if (ret)
goto out_irq; goto out_irq;
wl1271_notice("initialized");
return 0; return 0;
out_irq: out_irq:
...@@ -473,23 +471,12 @@ static struct spi_driver wl1271_spi_driver = { ...@@ -473,23 +471,12 @@ static struct spi_driver wl1271_spi_driver = {
static int __init wl1271_init(void) static int __init wl1271_init(void)
{ {
int ret; return spi_register_driver(&wl1271_spi_driver);
ret = spi_register_driver(&wl1271_spi_driver);
if (ret < 0) {
wl1271_error("failed to register spi driver: %d", ret);
goto out;
}
out:
return ret;
} }
static void __exit wl1271_exit(void) static void __exit wl1271_exit(void)
{ {
spi_unregister_driver(&wl1271_spi_driver); spi_unregister_driver(&wl1271_spi_driver);
wl1271_notice("unloaded");
} }
module_init(wl1271_init); module_init(wl1271_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment