iio: chemical: atlas-sensor: correct DO-SM channels
authorMatt Ranostay <matt.ranostay@konsulko.com>
Sun, 19 Apr 2020 23:28:47 +0000 (02:28 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 25 Apr 2020 13:34:51 +0000 (14:34 +0100)
commit98bcead07951ed76e1e85226c3a54d117e9f8b59
treed207a70c8fc4c08cec826a5554f6a1bb326bfd5d
parentc532cc617e6edc4398a9ec5c8f470833966f9f9f
iio: chemical: atlas-sensor: correct DO-SM channels

IIO_CONCENTRATION channel for the DO-SM shouldn't be indexed as
there isn't more than one, and also ATLAS_CONCENTRATION_CHANNEL
macro scan_index define steps on the IIO_TIMESTAMP channel.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Fixes: a751b8e48018 (iio: chemical: atlas-sensor: add DO-SM module support)
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/atlas-sensor.c