Axel Lin a5af092245 generic-adc-battery: Fix checking return value of request_any_context_irq
On failure, request_any_context_irq() returns a negative value. On
success, it returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
2012-11-16 01:46:42 -08:00
..
2012-10-08 15:57:41 -07:00
2012-10-07 17:29:24 +09:00
2012-10-07 17:29:24 +09:00
2012-10-07 17:29:24 +09:00
2012-10-07 17:29:24 +09:00
2012-10-07 17:29:24 +09:00
2012-10-07 17:29:24 +09:00
2012-10-07 17:29:24 +09:00