diff options
| author | 2019-03-08 16:46:52 -0300 | |
|---|---|---|
| committer | 2019-04-04 20:19:54 +0100 | |
| commit | 681ca4477933017e77188dcba74035823e823152 (patch) | |
| tree | fb8e633d97d886f0e7699762d9cfe86eb7ef80f8 | |
| parent | iio: adc: ti-ads7950: add GPIO support (diff) | |
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>
| -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; |
