diff options
author | Lucas Oshiro <lucasseikioshiro@gmail.com> | 2019-03-08 22:46:52 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-04 22:19:54 +0300 |
commit | 681ca4477933017e77188dcba74035823e823152 (patch) | |
tree | fb8e633d97d886f0e7699762d9cfe86eb7ef80f8 /drivers/iio/potentiostat | |
parent | c97dce792dc8da9d934931b7a05c253371472e09 (diff) | |
download | linux-681ca4477933017e77188dcba74035823e823152.tar.xz |
iio:potentiostat:lmp91000: remove unnecessary parentheses
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>
Diffstat (limited to 'drivers/iio/potentiostat')
-rw-r--r-- | drivers/iio/potentiostat/lmp91000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/potentiostat/lmp91000.c b/drivers/iio/potentiostat/lmp91000.c index 90e895adf997..03d277621861 100644 --- a/drivers/iio/potentiostat/lmp91000.c +++ b/drivers/iio/potentiostat/lmp91000.c @@ -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; |