summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-04-08 04:12:32 +0400
committerChanwoo Choi <cw00.choi@samsung.com>2013-04-09 02:53:46 +0400
commitc2536543d53be247786b8beb7c505c629fd55813 (patch)
tree59eff36c22e2927df4476245ed366af0d05c70ed /drivers/extcon/extcon-max8997.c
parent6ed28105c07e0e03bf5f5a99380b726fc4de6e93 (diff)
downloadlinux-c2536543d53be247786b8beb7c505c629fd55813.tar.xz
extcon: max77693: Fix return value
Return the value obtained from the function instead of hardcoding. Silences the following warnings: drivers/extcon/extcon-max77693.c:297 max77693_muic_set_path() info: why not propagate 'ret' from max77693_update_reg() instead of (-11)? drivers/extcon/extcon-max77693.c:310 max77693_muic_set_path() info: why not propagate 'ret' from max77693_update_reg() instead of (-11)? Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/extcon/extcon-max8997.c')
0 files changed, 0 insertions, 0 deletions