From: Krzysztof Kozlowski Date: Fri, 18 Apr 2014 14:47:30 +0000 (+0200) Subject: extcon: max14577: Properly handle regmap_irq_get_virq error X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~38^2~21^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=369afd4ba22f5b8de0c9229b6e62b3f9e2207034;p=pandora-kernel.git extcon: max14577: Properly handle regmap_irq_get_virq error The regmap_irq_get_virq may return 0 or -EINVAL on error. Fail the probe in both situations. Signed-off-by: Krzysztof Kozlowski Cc: Signed-off-by: Chanwoo Choi --- Reading git-diff-tree failed