diff options
author | 2011-07-04 18:04:15 +0800 | |
---|---|---|
committer | 2011-07-08 17:01:59 +0400 | |
commit | f8c63918c9a3004bd052fa4af08aa1cefbcd79ac (patch) | |
tree | eb35ec3a6e1142b7249b12ee8f34599b422c0968 /tools/perf/scripts/python/syscall-counts.py | |
parent | power_supply: MAX17042: Support additional properties (diff) | |
download | linux-dev-f8c63918c9a3004bd052fa4af08aa1cefbcd79ac.tar.xz linux-dev-f8c63918c9a3004bd052fa4af08aa1cefbcd79ac.zip |
gpio-charger: Fix checking return value of request_any_context_irq
request_any_context_irq() returns a negative value on failure.
On success, it returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions