diff options
author | Tejun Heo <tj@kernel.org> | 2010-12-11 19:51:45 +0300 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-12-22 02:39:56 +0300 |
commit | bc51e7ff521f28a7f14dc2f25307ad9101d1305a (patch) | |
tree | 011477cb2e90d2038261170a4e688f795d6720f9 /security | |
parent | 3a2dbd611b38cf9a026c0099a85701ad183d1949 (diff) | |
download | linux-bc51e7ff521f28a7f14dc2f25307ad9101d1305a.tar.xz |
power_supply: Don't use flush_scheduled_work()
flush_scheduled_work() is deprecated and scheduled to be removed.
In battery drivers, the work can be canceled on probe failure and
removal and should be flushed on suspend. Replace
flush_scheduled_work() usages with direct cancels and flushes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions