iio: adis16475: make use of the new unmasked_drdy flag
authorNuno Sá <nuno.sa@analog.com>
Fri, 3 Sep 2021 14:14:21 +0000 (16:14 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 19 Oct 2021 07:27:34 +0000 (08:27 +0100)
commitcab85eadd78517a798bf818ce85a8e7ddf444b88
treeb0675b72c10a8d03d97619030dd41d391745e867
parent31fa357ac809affd9f9a7d0b5d1991951e16beec
iio: adis16475: 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-4-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16475.c