mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 22:55:53 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
c34812e490
commit
bbdcbd12a5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user