From: Sachin Kamat Date: Tue, 25 Sep 2012 23:10:03 +0000 (+0900) Subject: extcon: Fix return value in extcon_register_interest() X-Git-Tag: v3.7-rc3~15^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cd3c277ebc64e4bc30c5eb6412edd43b5730a4f;p=pandora-kernel.git 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 Signed-off-by: Chanwoo Choi --- Reading git-diff-tree failed