2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00

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>
This commit is contained in:
Lucas Oshiro 2019-03-08 16:46:52 -03:00 committed by Jonathan Cameron
parent c97dce792d
commit 681ca44779

View File

@ -113,7 +113,7 @@ static int lmp91000_read(struct lmp91000_data *data, int channel, int *val)
return -EINVAL; return -EINVAL;
/* delay till first temperature reading is complete */ /* 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); usleep_range(3000, 4000);
data->chan_select = channel != LMP91000_REG_MODECN_3LEAD; data->chan_select = channel != LMP91000_REG_MODECN_3LEAD;