diff options
| author | Jonathan Cameron <jic23@kernel.org> | 2016-05-14 18:42:08 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-05-29 15:00:10 +0100 |
| commit | ef2d71d6b7fbbb57e332883d8fad39f2adb9199e (patch) | |
| tree | 1939a31a26064c95c736e8cd65fac2239ea399ec /tools/perf/scripts/python | |
| parent | iio: adc: ti-ads1015: add datasheet names (diff) | |
| download | linux-ef2d71d6b7fbbb57e332883d8fad39f2adb9199e.tar.gz linux-ef2d71d6b7fbbb57e332883d8fad39f2adb9199e.zip | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
