summaryrefslogtreecommitdiffstats
path: root/drivers/power/olpc_battery.c
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2013-01-25 18:23:00 -0800
committerJohn W. Linville <linville@tuxdriver.com>2013-01-30 15:07:05 -0500
commit5b2e2eccab80e2f56d06df582e473fb0d8630f35 (patch)
tree29e778882c1742943f3a5201ab3903254b985843 /drivers/power/olpc_battery.c
parent3220712d3aa4f5df12b7305ce340f6d216a84477 (diff)
downloadblackbird-op-linux-5b2e2eccab80e2f56d06df582e473fb0d8630f35.tar.gz
blackbird-op-linux-5b2e2eccab80e2f56d06df582e473fb0d8630f35.zip
mwifiex: do not overwrite error code from lower layer driver
Instead of converting it to a bogus error code -1, we should return the original error code from lower layer driver. This error code will be printed so it may give user some clues on what has happened. Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/power/olpc_battery.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud