-
由 Tejun Heo 提交于
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: NTejun Heo <tj@kernel.org> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
bc51e7ff