Commit 681ca447 authored by Lucas Oshiro's avatar Lucas Oshiro Committed by Jonathan Cameron

iio:potentiostat:lmp91000: remove unnecessary parentheses

Remove unnecessary parentheses on line 116.
Signed-off-by: default avatarLucas Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: default avatarAnderson Reis <andersonreisrosa@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent c97dce79
...@@ -113,7 +113,7 @@ static int lmp91000_read(struct lmp91000_data *data, int channel, int *val) ...@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment