From: Axel Lin Date: Tue, 2 Oct 2012 00:14:59 +0000 (+0900) Subject: extcon: adc-jack: Fix checking return value of request_any_context_irq X-Git-Tag: v3.7-rc3~15^2~2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03019759b98de92b5507c8c2f6e253a35d59c868;p=pandora-kernel.git extcon: adc-jack: 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. Also ensure adc_jack_probe() return 0 on success. Signed-off-by: Axel Lin Signed-off-by: Chanwoo Choi --- Reading git-diff-tree failed