diff options
author | Arvind Yadav <[email protected]> | 2017-11-17 16:55:35 +0530 |
---|---|---|
committer | Kishon Vijay Abraham I <[email protected]> | 2017-12-15 16:00:39 +0530 |
commit | e796cc6a3a9186c92092e2f5929cf8f65b56cf01 (patch) | |
tree | ab6c1e37f0a01ae57cce4f39bc9fb99d7ba3c88e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 046046737bd35bed047460f080ea47e186be731e (diff) |
phy: cpcap-usb: Fix platform_get_irq_byname's error checking.
The platform_get_irq_byname() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq_byname() error
checking for zero is not correct.
Fixes: 6d6ce40f63af ("phy: cpcap-usb: Add CPCAP PMIC USB support")
Signed-off-by: Arvind Yadav <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions