]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iio:potentiostat:lmp91000: remove unnecessary parentheses
authorLucas Oshiro <lucasseikioshiro@gmail.com>
Fri, 8 Mar 2019 19:46:52 +0000 (16:46 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 4 Apr 2019 19:19:54 +0000 (20:19 +0100)
Remove unnecessary parentheses on line 116.

Signed-off-by: Lucas Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Anderson Reis <andersonreisrosa@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiostat/lmp91000.c

index 90e895adf99755ca2f3569996f91b49ad8944084..03d277621861b538bd117ac1815b3e0973fe3629 100644 (file)
@@ -113,7 +113,7 @@ static int lmp91000_read(struct lmp91000_data *data, int channel, int *val)
                return -EINVAL;
 
        /* delay till first temperature reading is complete */
-       if ((state != channel) && (channel == LMP91000_REG_MODECN_TEMP))
+       if (state != channel && channel == LMP91000_REG_MODECN_TEMP)
                usleep_range(3000, 4000);
 
        data->chan_select = channel != LMP91000_REG_MODECN_3LEAD;