summaryrefslogtreecommitdiff
path: root/drivers/iio/imu/adis16400.h
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2019-03-22 22:44:38 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-04-04 20:20:23 +0100
commit74878d4fa816443716bd8adf4f9f6986f5c6f256 (patch)
tree49cc50c9d741d60c53d00ece38151475acb52b75 /drivers/iio/imu/adis16400.h
parent9bf1468e9d62c144b91ca9684b91dfc84c3f2a4b (diff)
iio: imu: adis16400: move trigger handler into adis16400_core
The trigger handler for the ADIS16400 is very different from the generic one in the ADIS library. Keeping it in a separate file won't make much sense once the update_scan_mode function will be made more generic and moved into the ADIS library. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/imu/adis16400.h')
-rw-r--r--drivers/iio/imu/adis16400.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/imu/adis16400.h b/drivers/iio/imu/adis16400.h
index 73b189c1c0fb..93b6c0c41fdd 100644
--- a/drivers/iio/imu/adis16400.h
+++ b/drivers/iio/imu/adis16400.h
@@ -203,12 +203,10 @@ ssize_t adis16400_read_data_from_ring(struct device *dev,
int adis16400_update_scan_mode(struct iio_dev *indio_dev,
const unsigned long *scan_mask);
-irqreturn_t adis16400_trigger_handler(int irq, void *p);
#else /* CONFIG_IIO_BUFFER */
#define adis16400_update_scan_mode NULL
-#define adis16400_trigger_handler NULL
#endif /* CONFIG_IIO_BUFFER */