Sachin Kamat 00af4b16e0 extcon: max77693: Fix incorrect error check and return value
irq_create_mapping() returns 0 if it fails to provide a valid irq number.
'ret' needs to be updated with a negative error code before returning from
probe to signal probe failure. While at it, also corrected the 'virq' type to
unsigned from signed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
2012-11-21 20:00:40 +09:00
..
2012-10-15 14:45:51 -04:00
2012-10-07 20:55:16 +09:00
2012-11-13 22:27:19 +01:00
2012-09-26 22:28:21 -04:00
2012-10-24 16:58:53 +02:00
2012-10-07 17:29:24 +09:00
2012-10-10 20:15:24 +09:00
2012-10-17 15:53:03 -05:00
2012-10-09 16:11:46 +09:00
2012-10-10 20:15:24 +09:00
2012-11-16 14:33:04 -08:00
2012-10-28 11:13:54 -07:00
2012-11-16 07:47:18 -08:00
2012-11-02 13:26:11 -07:00
2012-10-01 12:09:59 -07:00
2012-11-10 06:56:21 +01:00
2012-10-01 18:46:13 -07:00
2012-10-16 18:07:12 -07:00