Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256209
b: refs/heads/master
c: ba2274c
h: refs/heads/master
i:
  256207: bd6b65c
v: v3
  • Loading branch information
Felipe Balbi authored and Luciano Coelho committed Jun 27, 2011
1 parent b88eb64 commit f30f27e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c4cdfa12f389f0addbbbb6ac984997498a3c3af
refs/heads/master: ba2274c68e103271ba0c70fb8ad9afb4ede42d20
15 changes: 1 addition & 14 deletions trunk/drivers/net/wireless/wl12xx/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,6 @@ static int __devinit wl1271_probe(struct spi_device *spi)
if (ret)
goto out_irq;

wl1271_notice("initialized");

return 0;

out_irq:
Expand Down Expand Up @@ -473,23 +471,12 @@ static struct spi_driver wl1271_spi_driver = {

static int __init wl1271_init(void)
{
int ret;

ret = spi_register_driver(&wl1271_spi_driver);
if (ret < 0) {
wl1271_error("failed to register spi driver: %d", ret);
goto out;
}

out:
return ret;
return spi_register_driver(&wl1271_spi_driver);
}

static void __exit wl1271_exit(void)
{
spi_unregister_driver(&wl1271_spi_driver);

wl1271_notice("unloaded");
}

module_init(wl1271_init);
Expand Down

0 comments on commit f30f27e

Please sign in to comment.