Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281173
b: refs/heads/master
c: 3b724ca
h: refs/heads/master
i:
  281171: 78db70a
v: v3
  • Loading branch information
Andreas Ruprecht authored and Greg Kroah-Hartman committed Nov 29, 2011
1 parent 354db14 commit 3cc5c63
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 359f9caa4df27ca0546a787d086f4c06306300b6
refs/heads/master: 3b724ca14565747926c23af1fa1afb1848c3f448
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/accel/sca3000_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ sca3000_store_measurement_mode(struct device *dev,
struct sca3000_state *st = iio_priv(indio_dev);
int ret;
int mask = 0x03;
long val;
u8 val;

mutex_lock(&st->lock);
ret = strict_strtol(buf, 10, &val);
ret = kstrtou8(buf, 10, &val);
if (ret)
goto error_ret;
ret = sca3000_read_data_short(st, SCA3000_REG_ADDR_MODE, 1);
Expand Down

0 comments on commit 3cc5c63

Please sign in to comment.