diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-05-16 15:17:04 +0200 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-06-07 02:25:48 +0200 |
commit | c509a62c9469e2787bcacc7aba454d555732b0b6 (patch) | |
tree | 73972ab9429753156a59a4618f4a7022a96dafb4 /drivers/power/tps65090-charger.c | |
parent | pm2301_charger: Fix NULL pointer dereference (diff) | |
download | linux-c509a62c9469e2787bcacc7aba454d555732b0b6.tar.xz linux-c509a62c9469e2787bcacc7aba454d555732b0b6.zip |
pm2301_charger: Return error if create_singlethread_workqueue fails
Return error instead of 0 if create_singlethread_workqueue call fails.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
Diffstat (limited to 'drivers/power/tps65090-charger.c')
0 files changed, 0 insertions, 0 deletions