aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/max1027.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-09-23 17:19:42 +0200
committerJonathan Cameron <jic23@kernel.org>2016-09-27 20:32:59 +0100
commit19808e0467a05ee4a3008f9d586ce32d5b34aba8 (patch)
tree5f1f1eecd15cac1e5e6fd6d57cf83bb092091030 /drivers/iio/adc/max1027.c
parentiio:trigger: Add helper function to verify that a trigger belongs to the same device (diff)
downloadlinux-dev-19808e0467a05ee4a3008f9d586ce32d5b34aba8.tar.xz
linux-dev-19808e0467a05ee4a3008f9d586ce32d5b34aba8.zip
iio:mma8452: Use new iio_trigger_validate_own_device() helper
Use the new iio_trigger_validate_own_device() to verify that the trigger can only be attached to the matching IIO device rather than using a custom variant. While the implementation of iio_trigger_validate_own_device() and the custom variant and are not identical their behaviour is. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/max1027.c')
0 files changed, 0 insertions, 0 deletions