diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2016-09-23 18:19:43 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-09-27 22:33:00 +0300 |
commit | bea15d5139b9eef3ca368b95c4dbd6621bff9a5c (patch) | |
tree | 68667378339b4344141589d7de8d9ed55442e176 /drivers/iio/adc/ad7266.c | |
parent | 19808e0467a05ee4a3008f9d586ce32d5b34aba8 (diff) | |
download | linux-bea15d5139b9eef3ca368b95c4dbd6621bff9a5c.tar.xz |
iio:max1027: Use 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/ad7266.c')
0 files changed, 0 insertions, 0 deletions