alistair23-linux/drivers/extcon
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
..
extcon-adc-jack.c extcon: adc-jack: Add missing MODULE_LICENSE 2012-10-23 16:32:14 +09:00
extcon-arizona.c extcon: arizona: unlock mutex on error path in arizona_micdet() 2012-11-20 16:00:44 +09:00
extcon-class.c extcon: Fix return value in extcon-class.c 2012-11-21 20:00:39 +09:00
extcon-gpio.c extcon: Remove duplicate inclusion of extcon.h header file 2012-10-22 11:28:10 +09:00
extcon-max8997.c extcon: max8997: Fix incorrect error check and return value 2012-11-21 20:00:40 +09:00
extcon-max77693.c extcon: max77693: Fix incorrect error check and return value 2012-11-21 20:00:40 +09:00
Kconfig extcon: extcon-arizona depends on INPUT 2012-09-05 13:31:03 -07:00
Makefile extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices 2012-09-05 12:20:49 -07:00