Commit a540243f authored by Venkat Prashanth B U's avatar Venkat Prashanth B U Committed by Greg Kroah-Hartman

Drivers:iio:adc:ti_am335x_adc remove comparison to bool

This is the patch to the file ti_am335x_adc.c
which fixes the following coccinelle warning:

WARNING: Comparison to bool
Signed-off-by: default avatarVenkat Prashanth B U <venkat.prashanth2498@gmail.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7f752e13
...@@ -523,7 +523,7 @@ static int tiadc_read_raw(struct iio_dev *indio_dev, ...@@ -523,7 +523,7 @@ static int tiadc_read_raw(struct iio_dev *indio_dev,
} }
am335x_tsc_se_adc_done(adc_dev->mfd_tscadc); am335x_tsc_se_adc_done(adc_dev->mfd_tscadc);
if (found == false) if (!found)
ret = -EBUSY; ret = -EBUSY;
err_unlock: err_unlock:
......
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