staging: iio: remove unnecessary parentheses
authorJi-Hun Kim <jihuun.k@gmail.com>
Thu, 28 Dec 2017 02:47:18 +0000 (18:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:42 +0000 (16:03 +0100)
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>
drivers/staging/iio/adc/ad7192.c

index cadfb96734edc638bd9114f7f0bed83c004e9b32..f01595593ce2d25558a51d47ec2eece33767f002 100644 (file)
@@ -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) {