Re: [PATCH 3/7] extcon: Fix return value in extcon-class.c

2012-11-20 Thread Sachin Kamat
On 20 November 2012 13:24, Chanwoo Choi wrote: > On 11/20/2012 02:22 PM, Sachin Kamat wrote: >> Return the value obtained from the function extcon_register_interest >> instead of -EINVAL. >> >> Silences the following warning: >> drivers/extcon/extcon-class.c:475 extcon_register_interest() info: >>

Re: [PATCH 3/7] extcon: Fix return value in extcon-class.c

2012-11-19 Thread Chanwoo Choi
On 11/20/2012 02:22 PM, Sachin Kamat wrote: > Return the value obtained from the function extcon_register_interest > instead of -EINVAL. > > Silences the following warning: > drivers/extcon/extcon-class.c:475 extcon_register_interest() info: > why not propagate 'obj->cable_index' from extcon_find_