Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106145
b: refs/heads/master
c: c491b2f
h: refs/heads/master
i:
  106143: 93b3f55
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Jul 26, 2008
1 parent d1edfc4 commit 486a902
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: f3c6ba986ab4527b6dfacf9f3b9e40f72466a8b2
refs/heads/master: c491b2ffae3fad5e6e3cb2320b46bb8ea8729d49
8 changes: 5 additions & 3 deletions trunk/drivers/mfd/asic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,12 @@ static int __init asic3_irq_probe(struct platform_device *pdev)
unsigned long clksel = 0;
unsigned int irq, irq_base;
int map_size;
int ret;

asic->irq_nr = platform_get_irq(pdev, 0);
if (asic->irq_nr < 0)
return asic->irq_nr;
ret = platform_get_irq(pdev, 0);
if (ret < 0)
return ret;
asic->irq_nr = ret;

/* turn on clock to IRQ controller */
clksel |= CLOCK_SEL_CX;
Expand Down

0 comments on commit 486a902

Please sign in to comment.