arm/sharpsl: don't use flush_scheduled_work()
commitfe413ec322e26179c788c678f24434b94cca34f0
authorTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (24 15:59 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 14:59:06 +0000 (24 15:59 +0100)
treee4df7b6bab57dd6f91cd99ffc8fdcb20755fde4f
parent5d8e4bddc635dd61ab8b3bcb75c59934e9c1e19f
arm/sharpsl: don't use flush_scheduled_work()

flush_scheduled_work() is deprecated and scheduled to be removed.
Directly flush toggle_charger and sharpsl_bat works on suspend
instead.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
arch/arm/mach-pxa/sharpsl_pm.c