Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 256206
b: refs/heads/master
c: 6bdaf79
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi authored and Luciano Coelho committed Jun 27, 2011
1 parent 359b142 commit 8ca91ab
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: 33dd74c7844852afba46f5e19911bcf55a1f04a1
refs/heads/master: 6bdaf79623e285242cb977840358dc7d14438475
15 changes: 1 addition & 14 deletions trunk/drivers/net/wireless/wl12xx/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8ca91ab

Please sign in to comment.