Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158790
b: refs/heads/master
c: c4f5c85
h: refs/heads/master
v: v3
  • Loading branch information
Kalle Valo authored and John W. Linville committed Jul 10, 2009
1 parent 687eeca commit d6cc146
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 1d3b8130611bbe50168ad0a12841735c9c235410
refs/heads/master: c4f5c8521868789caaf704c9c2d523b40ccfcb02
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/wl12xx/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,13 +1274,15 @@ static int __devinit wl12xx_probe(struct spi_device *spi)
wl->set_power = pdata->set_power;
if (!wl->set_power) {
wl12xx_error("set power function missing in platform data");
return -ENODEV;
ret = -ENODEV;
goto out_free;
}

wl->irq = spi->irq;
if (wl->irq < 0) {
wl12xx_error("irq missing in platform data");
return -ENODEV;
ret = -ENODEV;
goto out_free;
}

ret = request_irq(wl->irq, wl12xx_irq, 0, DRIVER_NAME, wl);
Expand Down

0 comments on commit d6cc146

Please sign in to comment.