Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193185
b: refs/heads/master
c: b865a4e
h: refs/heads/master
i:
  193183: 48c72f2
v: v3
  • Loading branch information
Wolfram Sang authored and Ben Dooks committed May 19, 2010
1 parent 4774599 commit bdad345
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: bf727e016f2a25d9f054317b2807e638706f1db6
refs/heads/master: b865a4e7ab3c6c8099fbe83ddf94c982d1d850ea
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 bdad345

Please sign in to comment.