diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-08 00:12:32 (GMT) |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-04-08 22:53:46 (GMT) |
commit | c2536543d53be247786b8beb7c505c629fd55813 (patch) | |
tree | 59eff36c22e2927df4476245ed366af0d05c70ed /drivers/target/target_core_internal.h | |
parent | 6ed28105c07e0e03bf5f5a99380b726fc4de6e93 (diff) | |
download | linux-fsl-qoriq-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/target/target_core_internal.h')
0 files changed, 0 insertions, 0 deletions