iio: adis16460: make use of the new unmasked_drdy flag
authorNuno Sá <nuno.sa@analog.com>
Fri, 3 Sep 2021 14:14:22 +0000 (16:14 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 19 Oct 2021 07:27:34 +0000 (08:27 +0100)
commit23a3b67c52d01b9f16d27694d5d871d445ca2f7b
tree0fdd3b164fec6f7ac611818115fff13dd000e5fc
parentcab85eadd78517a798bf818ce85a8e7ddf444b88
iio: adis16460: make use of the new unmasked_drdy flag

The library can now handle enabling/disabling IRQs for devices that
cannot unmask the data ready pin. Hence there's no need to provide an
'enable_irq' callback anymore.

The library will also automatically request the IRQ with 'IRQF_NO_AUTOEN'
so that we can also remove that from the driver.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210903141423.517028-5-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16460.c