summaryrefslogtreecommitdiff
path: root/drivers/iio/adc/max1027.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2017-07-23 17:25:45 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2017-08-22 21:20:28 +0100
commit04581681df3048b7819c25419de1ea73a2832808 (patch)
treef8ecbf9c8bdd7d87e99a269ae9610cdf71e6e250 /drivers/iio/adc/max1027.c
parent035c70aeb64b861aa88a666c61fda8b2ae49aeae (diff)
downloadlinux-stable-04581681df3048b7819c25419de1ea73a2832808.tar.gz
iio:trigger: Remove necessity to have a trig->ops structure.
There are a few cases where none of the callbacks are supplied and the ops structure purely existed to provide the driver module. Given that is done differently now, we don't need to have a trig_ops structure. Allow for it not being there required a few additional sanity checks when trying check if particular callbacks are set. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/adc/max1027.c')
0 files changed, 0 insertions, 0 deletions