summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-04-08 02:12:32 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2013-04-09 00:53:46 +0200
commitc2536543d53be247786b8beb7c505c629fd55813 (patch)
tree59eff36c22e2927df4476245ed366af0d05c70ed /drivers/extcon/extcon-max8997.c
parentextcon: max8997: use dev_err() instead of pr_err() (diff)
downloadlinux-c2536543d53be247786b8beb7c505c629fd55813.tar.xz
linux-c2536543d53be247786b8beb7c505c629fd55813.zip
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