summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/trigger
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2012-03-01 10:51:04 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-02 16:35:39 -0800
commit0f1acee5f5e2ceaef3244dc4c1f3895b907669cd (patch)
tree76c48850daa83a159ab8a22d3c6d4614990b6b5d /drivers/staging/iio/trigger
parente553f182d55bd268fea3f106368e2344141c212a (diff)
staging: iio: core: Avoid NULL pointer de-ref in case indio_dev->setup_ops are not in use
Drivers may not need setup_ops at all, so let the core supply some empty ops. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/trigger')
0 files changed, 0 insertions, 0 deletions