diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-04-08 09:13:18 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-04-09 07:53:46 +0900 |
commit | 3ad9e86d54ed2770aa693a90a0872cbe7ffc6831 (patch) | |
tree | ecc8e3afa3a8e276eddba3a5427756d1ef4e00ca /drivers/dma/dw_dmac_regs.h | |
parent | c2536543d53be247786b8beb7c505c629fd55813 (diff) |
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/dma/dw_dmac_regs.h')
0 files changed, 0 insertions, 0 deletions