iio: chemical: atlas-sensor: allow probe without interrupt line
authorMatt Ranostay <matt.ranostay@konsulko.com>
Tue, 18 Feb 2020 03:42:37 +0000 (19:42 -0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Mar 2020 17:28:40 +0000 (17:28 +0000)
commitd4578dc051037ffffa7725330303fed670a63b20
tree37450129e56a974012af71e79f123d866ff9bf1b
parent74a40e19f9db6606b5263aa08af2c684dd67b3d3
iio: chemical: atlas-sensor: allow probe without interrupt line

Sensors don't actually need a interrupt line to give valid readings,
and can triggered with CONFIG_IIO_HRTIMER_TRIGGER as well. Remove
the required check for interrupt, and continue along in the probe
function.

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/atlas-sensor.c