diff options
| author | Roberta Dobrescu <[email protected]> | 2015-03-02 12:39:12 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2015-03-09 13:27:49 +0000 |
| commit | debf6d843eaa3622786c45eb6edbc46f38f31a90 (patch) | |
| tree | 84d28209b44f288fb59e193e5e00f7ff0eb41db2 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4a428bf3d92385f27cbb15bef90754027ba4f2d9 (diff) | |
iio: accel: mma9551: Check gpiod_to_irq return value
The return value of gpiod_to_irq should be checked before giving
it to devm_request_threaded_irq in order to not pass an error
code in case it fails.
Signed-off-by: Roberta Dobrescu <[email protected]>
Reviewed-by: Vlad Dogaru <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions