diff options
| author | 2021-05-15 12:51:52 +0300 | |
|---|---|---|
| committer | 2021-06-03 18:24:12 +0100 | |
| commit | 9504db5765e83cc919caf6647725f7d022874c9d (patch) | |
| tree | ca096b81b597058f4e3d30479fb7404127fc47c0 /scripts/const_structs.checkpatch | |
| parent | iio: light: tsl2591: delete a stray tab (diff) | |
iio: adc: tsc2046: fix a warning message in tsc2046_adc_update_scan_mode()
These variables are unsigned so the condition can't be less than zero
and the warning message will never be printed.
Fixes: 9374e8f5a38d ("iio: adc: add ADC driver for the TI TSC2046 controller")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YJ+ZuO43TnguY5vq@mwanda
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
