Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354223
b: refs/heads/master
c: a722dcc
h: refs/heads/master
i:
  354221: 172e1ed
  354219: 013491d
  354215: 800c45a
  354207: bcdbc1c
v: v3
  • Loading branch information
Jonathan Cameron committed Jan 26, 2013
1 parent a69ade9 commit d46686d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: a9e244f65df170ae6efba03bdb0a203626ae1cd3
refs/heads/master: a722dcca4da47a480a6042c0c0275695a597b77f
6 changes: 2 additions & 4 deletions trunk/drivers/staging/iio/light/tsl2563.c
Original file line number Diff line number Diff line change
Expand Up @@ -672,11 +672,9 @@ static int tsl2563_read_interrupt_config(struct iio_dev *indio_dev,
TSL2563_CMD | TSL2563_REG_INT);
mutex_unlock(&chip->lock);
if (ret < 0)
goto error_ret;
ret = !!(ret & 0x30);
error_ret:
return ret;

return ret;
return !!(ret & 0x30);
}

static struct i2c_driver tsl2563_i2c_driver;
Expand Down

0 comments on commit d46686d

Please sign in to comment.