Re: [PATCH] extcon: max14577: Properly handle regmap_irq_get_virq error

2014-04-21 Thread Chanwoo Choi
On 04/18/2014 11:47 PM, Krzysztof Kozlowski wrote: > The regmap_irq_get_virq may return 0 or -EINVAL on error. Fail the probe > in both situations. > > Signed-off-by: Krzysztof Kozlowski > Cc: > --- > drivers/extcon/extcon-max14577.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] extcon: max14577: Properly handle regmap_irq_get_virq error

2014-04-21 Thread Chanwoo Choi
On 04/18/2014 11:47 PM, Krzysztof Kozlowski wrote: The regmap_irq_get_virq may return 0 or -EINVAL on error. Fail the probe in both situations. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: sta...@vger.kernel.org --- drivers/extcon/extcon-max14577.c | 2 +- 1 file

[PATCH] extcon: max14577: Properly handle regmap_irq_get_virq error

2014-04-18 Thread Krzysztof Kozlowski
The regmap_irq_get_virq may return 0 or -EINVAL on error. Fail the probe in both situations. Signed-off-by: Krzysztof Kozlowski Cc: --- drivers/extcon/extcon-max14577.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-max14577.c

[PATCH] extcon: max14577: Properly handle regmap_irq_get_virq error

2014-04-18 Thread Krzysztof Kozlowski
The regmap_irq_get_virq may return 0 or -EINVAL on error. Fail the probe in both situations. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: sta...@vger.kernel.org --- drivers/extcon/extcon-max14577.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git