Commit bbdcbd12 authored by Ji-Hun Kim's avatar Ji-Hun Kim Committed by Greg Kroah-Hartman

staging: iio: remove unnecessary parentheses

Clean up checkpatch warning:
CHECK: Unnecessary parentheses around 'st->devid != ID_AD7195'
Signed-off-by: default avatarJi-Hun Kim <jihuun.k@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c34812e4
...@@ -271,7 +271,7 @@ static int ad7192_setup(struct ad7192_state *st, ...@@ -271,7 +271,7 @@ static int ad7192_setup(struct ad7192_state *st,
if (pdata->sinc3_en) if (pdata->sinc3_en)
st->mode |= AD7192_MODE_SINC3; 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; st->conf |= AD7192_CONF_REFSEL;
if (pdata->chop_en) { if (pdata->chop_en) {
......
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