iio: adis16480: Use irq types instead of flags
authorNuno Sá <nuno.sa@analog.com>
Wed, 1 Jul 2020 12:07:02 +0000 (14:07 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 7 Jul 2020 19:24:07 +0000 (20:24 +0100)
commit471622c92dae29dbabe88e466ea6c884aca75757
treee55ad75e0a221ffb9306e7bd550ee0d71ae9ad93
parent43354926bdc8fd420682e3250fd1b7eb29c2595b
iio: adis16480: Use irq types instead of flags

The value retrieved by `irqd_get_trigger_type()` is not an irq flag.
While the values are the same, the meaning is different.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16480.c