diff options
author | Ji-Hun Kim <jihuun.k@gmail.com> | 2017-12-27 18:47:18 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-08 16:03:42 +0100 |
commit | bbdcbd12a59a6306623ea5184e42a514e420b2e9 (patch) | |
tree | 14325150f963ad5ca826a5f70c0226488f89ea5b /drivers | |
parent | c34812e490b583fab63287249b3cf47326556e2d (diff) | |
download | linux-stable-bbdcbd12a59a6306623ea5184e42a514e420b2e9.tar.gz linux-stable-bbdcbd12a59a6306623ea5184e42a514e420b2e9.tar.bz2 linux-stable-bbdcbd12a59a6306623ea5184e42a514e420b2e9.zip |
staging: iio: remove unnecessary parentheses
Clean up checkpatch warning:
CHECK: Unnecessary parentheses around 'st->devid != ID_AD7195'
Signed-off-by: Ji-Hun Kim <jihuun.k@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/iio/adc/ad7192.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c index cadfb96734ed..f01595593ce2 100644 --- a/drivers/staging/iio/adc/ad7192.c +++ b/drivers/staging/iio/adc/ad7192.c @@ -271,7 +271,7 @@ static int ad7192_setup(struct ad7192_state *st, if (pdata->sinc3_en) st->mode |= AD7192_MODE_SINC3; - if (pdata->refin2_en && (st->devid != ID_AD7195)) + if (pdata->refin2_en && st->devid != ID_AD7195) st->conf |= AD7192_CONF_REFSEL; if (pdata->chop_en) { |