commit | ef2d71d6b7fbbb57e332883d8fad39f2adb9199e | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Sat May 14 18:42:08 2016 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 29 15:00:10 2016 +0100 |
tree | 1939a31a26064c95c736e8cd65fac2239ea399ec | |
parent | 8ac8aa61f87eda944cf29229c9c20cba9e83f1ea [diff] |
iio: triggers: Make trigger ops structure explicitly non optional. This structure has not been optional for a long time (if ever) but the code implies that it is. As we then use it later in a fashion that would crash if it was in fact NULL, it's inconsistent so fix it up by removing unnecessary checks. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>