summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-04-08 09:13:18 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2013-04-09 07:53:46 +0900
commit3ad9e86d54ed2770aa693a90a0872cbe7ffc6831 (patch)
treeecc8e3afa3a8e276eddba3a5427756d1ef4e00ca /drivers/acpi
parentc2536543d53be247786b8beb7c505c629fd55813 (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/acpi')
0 files changed, 0 insertions, 0 deletions