OSDN Git Service

iio: adc: tsc2046: fix scan interval warning
authorOleksij Rempel <o.rempel@pengutronix.de>
Thu, 7 Oct 2021 09:30:06 +0000 (11:30 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 17 Oct 2021 16:23:17 +0000 (17:23 +0100)
commit69b31fd7a61784692db6433c05d46915b1b1a680
tree3f4254759ee2d42d26179ac72b736bf8470ed756
parent19833c40d0415d6fe4340b5b9c46239abbf718f6
iio: adc: tsc2046: fix scan interval warning

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>
drivers/iio/adc/ti-tsc2046.c