Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304741
b: refs/heads/master
c: d32ec55
h: refs/heads/master
i:
  304739: 2dacc80
v: v3
  • Loading branch information
Peter Meerwald authored and Greg Kroah-Hartman committed May 16, 2012
1 parent 1431eb3 commit f32e8fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 0462e2bb4e04f2facb32bc13611c7ca91c1c4468
refs/heads/master: d32ec5518f728765983b18ec86b8de4a85115d62
6 changes: 3 additions & 3 deletions trunk/drivers/staging/iio/magnetometer/hmc5843.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ static ssize_t hmc5843_set_operating_mode(struct device *dev,
s32 status;
int error;
mutex_lock(&data->lock);
error = strict_strtoul(buf, 10, &operating_mode);
error = kstrtoul(buf, 10, &operating_mode);
if (error) {
count = error;
goto exit;
Expand Down Expand Up @@ -275,7 +275,7 @@ static ssize_t hmc5843_set_measurement_configuration(struct device *dev,
struct i2c_client *client = to_i2c_client(indio_dev->dev.parent);
struct hmc5843_data *data = iio_priv(indio_dev);
unsigned long meas_conf = 0;
int error = strict_strtoul(buf, 10, &meas_conf);
int error = kstrtoul(buf, 10, &meas_conf);
if (error)
return error;
mutex_lock(&data->lock);
Expand Down Expand Up @@ -425,7 +425,7 @@ static ssize_t set_range(struct device *dev,
unsigned long range = 0;
int error;
mutex_lock(&data->lock);
error = strict_strtoul(buf, 10, &range);
error = kstrtoul(buf, 10, &range);
if (error) {
count = error;
goto exit;
Expand Down

0 comments on commit f32e8fd

Please sign in to comment.