diff options
| author | Axel Lin <[email protected]> | 2011-07-04 10:04:15 +0000 |
|---|---|---|
| committer | Anton Vorontsov <[email protected]> | 2011-07-08 13:01:59 +0000 |
| commit | f8c63918c9a3004bd052fa4af08aa1cefbcd79ac (patch) | |
| tree | eb35ec3a6e1142b7249b12ee8f34599b422c0968 /lib/fault-inject.c | |
| parent | power_supply: MAX17042: Support additional properties (diff) | |
| download | kernel-f8c63918c9a3004bd052fa4af08aa1cefbcd79ac.tar.gz kernel-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 <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
