提交 71a0a643 编写于 作者: B Brian Masney 提交者: Jonathan Cameron

staging: iio: isl29028: remove unnecessary parenthesis

isl29028_write_raw() contains unnecessary parenthesis when checking to
see if the passed in lux scale is valid. This patch removes the
unnecessary parenthesis.
Signed-off-by: NBrian Masney <masneyb@onstation.org>
Signed-off-by: NJonathan Cameron <jic23@kernel.org>
上级 8c939402
......@@ -327,7 +327,7 @@ static int isl29028_write_raw(struct iio_dev *indio_dev,
break;
}
if ((val != 125) && (val != 2000)) {
if (val != 125 && val != 2000) {
dev_err(dev,
"%s(): light: Lux scale %d is not in the set {125, 2000}\n",
__func__, val);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册