diff options
| author | Arvind Yadav <[email protected]> | 2017-11-30 21:13:34 +0530 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-12-02 12:21:10 +0000 |
| commit | cccae604868c821754883edee6ced81b22e6b75a (patch) | |
| tree | f0888afd28e36398995a596fd11693e47654fff4 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 798c3c9b4ccad00fe2639770c4c86d247b9ee846 (diff) | |
iio: trigger: Fix platform_get_irq's error checking
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions