Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Venkat Prashanth B U <venkat.prashanth2498@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Venkat Prashanth B U and committed by
Greg Kroah-Hartman
a540243f 7f752e13

+1 -1
+1 -1
drivers/iio/adc/ti_am335x_adc.c
··· 523 523 } 524 524 am335x_tsc_se_adc_done(adc_dev->mfd_tscadc); 525 525 526 - if (found == false) 526 + if (!found) 527 527 ret = -EBUSY; 528 528 529 529 err_unlock: