iio: adc: tsc2046: fix scan interval warning
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 7 Oct 2021 09:30:06 +0000 (11:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:16:03 +0000 (19:16 +0100)
commite4b49c3f9d58c501dcf8fb211c754b0c0aca08dc
tree225a602afaabfc34e4c775e6eebefcadc9e712cb
parent24d8a24f5641a32600cc203ae87260b1dfab448d
iio: adc: tsc2046: fix scan interval warning

commit 69b31fd7a61784692db6433c05d46915b1b1a680 upstream.

Sync if statement with the actual warning.

Fixes: 9504db5765e8 ("iio: adc: tsc2046: fix a warning message in tsc2046_adc_update_scan_mode()")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20211007093007.1466-2-o.rempel@pengutronix.de
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/ti-tsc2046.c