From: Tejun Heo Date: Sat, 11 Dec 2010 16:51:45 +0000 (+0100) Subject: power_supply: Don't use flush_scheduled_work() X-Git-Tag: v2.6.38-rc1~56^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc51e7ff521f28a7f14dc2f25307ad9101d1305a;p=pandora-kernel.git 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 Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed