mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
staging: iio: ad7746: Adjust arguments to match open parenthesis
Clear a couple more checkpatch.pl CHECKS. Signed-off-by: Hernán Gonzalez <hernan@vanguardiasur.com.ar> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
95302e54d2
commit
2470bf57fc
1 changed files with 3 additions and 2 deletions
|
|
@ -556,7 +556,8 @@ static int ad7746_read_raw(struct iio_dev *indio_dev,
|
|||
/* Now read the actual register */
|
||||
|
||||
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)
|
||||
goto out;
|
||||
|
|
@ -614,7 +615,7 @@ static int ad7746_read_raw(struct iio_dev *indio_dev,
|
|||
break;
|
||||
case IIO_CHAN_INFO_OFFSET:
|
||||
*val = AD7746_CAPDAC_DACP(chip->capdac[chan->channel]
|
||||
[chan->differential]) * 338646;
|
||||
[chan->differential]) * 338646;
|
||||
|
||||
ret = IIO_VAL_INT;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue