commit | 5cd3c277ebc64e4bc30c5eb6412edd43b5730a4f | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Wed Sep 26 08:10:03 2012 +0900 |
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | Tue Oct 23 16:32:13 2012 +0900 |
tree | cfaedaf4f34c866fc88cbdb0cb3db021937dd42c | |
parent | 824a1bc045cef278aec15bef35d8d0b59ce77856 [diff] |
extcon: Fix return value in extcon_register_interest() Propagate the value returned from extcon_find_cable_index() instead of -ENODEV. For readability, -EINVAL is returned in place of the variable. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>