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_cable_index() > instead of -22? > > Signed-off-by: Sachin Kamat <sachin.ka...@linaro.org> > ---
I consolidate following two patches because of similar patch. extcon: Fix return value in extcon-class.c extcon: Redo: Fix return value in extcon_register_interest() Thank you, Chanwoo Choi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/