]> git.karo-electronics.de Git - linux-beck.git/commit
ab8500-charger: Do not use [delayed_]work_pending()
authorLee Jones <lee.jones@linaro.org>
Sat, 22 Dec 2012 01:56:52 +0000 (17:56 -0800)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:35:59 +0000 (12:35 +0800)
commitb09f86dbfc20d9420dac43dba016cb65b582c983
treef575c981d4b6fc2bcc6f61c5897621d4e02059d4
parent0577610e0e6b431a1503cc5d78e8178e0dd59948
ab8500-charger: Do not use [delayed_]work_pending()

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.jones@linaro.org>
drivers/power/ab8500_charger.c