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: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
8c93940268
commit
71a0a64346
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue