extcon: max77693: Fix return value
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 8 Apr 2013 00:12:32 +0000 (09:12 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 8 Apr 2013 22:53:46 +0000 (07:53 +0900)
commitc2536543d53be247786b8beb7c505c629fd55813
tree59eff36c22e2927df4476245ed366af0d05c70ed
parent6ed28105c07e0e03bf5f5a99380b726fc4de6e93
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>
drivers/extcon/extcon-max77693.c