Commit 2470bf57 authored by Hernán Gonzalez's avatar Hernán Gonzalez Committed by Jonathan Cameron

staging: iio: ad7746: Adjust arguments to match open parenthesis

Clear a couple more checkpatch.pl CHECKS.
Signed-off-by: default avatarHernán Gonzalez <hernan@vanguardiasur.com.ar>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 95302e54
...@@ -556,7 +556,8 @@ static int ad7746_read_raw(struct iio_dev *indio_dev, ...@@ -556,7 +556,8 @@ static int ad7746_read_raw(struct iio_dev *indio_dev,
/* Now read the actual register */ /* Now read the actual register */
ret = i2c_smbus_read_i2c_block_data(chip->client, ret = i2c_smbus_read_i2c_block_data(chip->client,
chan->address >> 8, 3, &chip->data.d8[1]); chan->address >> 8, 3,
&chip->data.d8[1]);
if (ret < 0) if (ret < 0)
goto out; goto out;
...@@ -614,7 +615,7 @@ static int ad7746_read_raw(struct iio_dev *indio_dev, ...@@ -614,7 +615,7 @@ static int ad7746_read_raw(struct iio_dev *indio_dev,
break; break;
case IIO_CHAN_INFO_OFFSET: case IIO_CHAN_INFO_OFFSET:
*val = AD7746_CAPDAC_DACP(chip->capdac[chan->channel] *val = AD7746_CAPDAC_DACP(chip->capdac[chan->channel]
[chan->differential]) * 338646; [chan->differential]) * 338646;
ret = IIO_VAL_INT; ret = IIO_VAL_INT;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment