Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196626
b: refs/heads/master
c: 6889f95
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Benjamin Herrenschmidt committed May 6, 2010
1 parent 8b27cd7 commit e79bb95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 8f85c0af2388d575a598d2695319ccb7e1b5523c
refs/heads/master: 6889f959b35d79166f9fb65aaddca1badb809d8f
2 changes: 1 addition & 1 deletion trunk/drivers/i2c/busses/i2c-cpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ static int __devinit cpm_i2c_setup(struct cpm_i2c *cpm)
init_waitqueue_head(&cpm->i2c_wait);

cpm->irq = of_irq_to_resource(ofdev->node, 0, NULL);
if (cpm->irq == NO_IRQ)
if (!cpm->irq)
return -EINVAL;

/* Install interrupt handler. */
Expand Down

0 comments on commit e79bb95

Please sign in to comment.