From: Sachin Kamat Date: Mon, 8 Apr 2013 00:13:18 +0000 (+0900) Subject: extcon: max8997: Fix return value X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~139^2~31^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ad9e86d54ed2770aa693a90a0872cbe7ffc6831;p=pandora-kernel.git extcon: max8997: Fix return value Return the value obtained from the function instead of hardcoding. Fixes the following warnings: drivers/extcon/extcon-max8997.c:235 max8997_muic_set_path() info: why not propagate 'ret' from max8997_update_reg() instead of (-11)? drivers/extcon/extcon-max8997.c:248 max8997_muic_set_path() info: why not propagate 'ret' from max8997_update_reg() instead of (-11)? Signed-off-by: Sachin Kamat Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- Reading git-diff-tree failed