diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-08 02:13:18 +0200 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-04-09 00:53:46 +0200 |
commit | 3ad9e86d54ed2770aa693a90a0872cbe7ffc6831 (patch) | |
tree | ecc8e3afa3a8e276eddba3a5427756d1ef4e00ca /drivers/scsi/osst.c | |
parent | extcon: max77693: Fix return value (diff) | |
download | linux-3ad9e86d54ed2770aa693a90a0872cbe7ffc6831.tar.xz linux-3ad9e86d54ed2770aa693a90a0872cbe7ffc6831.zip |
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 <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/scsi/osst.c')
0 files changed, 0 insertions, 0 deletions