[PATCH 40/40] ab8500-charger: Do not use [delayed_]work_pending()

2013-02-15 Thread Lee Jones
There's no need to test whether a (delayed) work item is pending before queueing, flushing or cancelling it. Most uses are unnecessary and quite a few of them are buggy. Signed-off-by: Lee Jones --- drivers/power/ab8500_charger.c | 19 ++- 1 file changed, 6 insertions(+), 13

[PATCH 40/40] ab8500-charger: Do not use [delayed_]work_pending()

2013-02-15 Thread Lee Jones
There's no need to test whether a (delayed) work item is pending before queueing, flushing or cancelling it. Most uses are unnecessary and quite a few of them are buggy. Signed-off-by: Lee Jones lee.jo...@linaro.org --- drivers/power/ab8500_charger.c | 19 ++- 1 file changed,