2 #include <linux/kernel.h>
4 #include <linux/export.h>
13 static irqreturn_t adis16209_data_rdy_trig_poll(
int irq,
void *trig)
22 static int adis16209_data_rdy_trigger_set_state(
struct iio_trigger *trig,
27 dev_dbg(&indio_dev->
dev,
"%s (%d)\n", __func__, state);
33 .set_trigger_state = &adis16209_data_rdy_trigger_set_state,
48 adis16209_data_rdy_trig_poll,
54 st->
trig->dev.parent = &st->
us->dev;
55 st->
trig->ops = &adis16209_trigger_ops;
56 st->
trig->private_data = indio_dev;