Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281171
b: refs/heads/master
c: bae5b53
h: refs/heads/master
i:
  281169: 462972d
  281167: b2636cc
v: v3
  • Loading branch information
Andreas Ruprecht authored and Greg Kroah-Hartman committed Nov 29, 2011
1 parent e263a9c commit 78db70a
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: 19a177e6fb097c2a0dd94aeeb2805f0c04a4185f
refs/heads/master: bae5b537539f0c64843fa4b037eafe7808182677
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/accel/adis16220_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,9 @@ static ssize_t adis16220_write_16bit(struct device *dev,
struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
int ret;
long val;
u16 val;

ret = strict_strtol(buf, 10, &val);
ret = kstrtou16(buf, 10, &val);
if (ret)
goto error_ret;
ret = adis16220_spi_write_reg_16(indio_dev, this_attr->address, val);
Expand Down

0 comments on commit 78db70a

Please sign in to comment.