diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-11-30 21:13:34 +0530 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2017-12-02 12:21:10 +0000 |
| commit | cccae604868c821754883edee6ced81b22e6b75a (patch) | |
| tree | f0888afd28e36398995a596fd11693e47654fff4 /include/linux/patchkey.h | |
| 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 <arvind.yadav.cs@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
