crypto: hifn_795x - use cancel_delayed_work_sync()
authorTejun Heo <tj@kernel.org>
Tue, 19 Oct 2010 12:50:23 +0000 (20:50 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 19 Oct 2010 12:50:23 +0000 (20:50 +0800)
commitf4e523f2ad179f6bf5691ddc3cd2893856fafc66
tree25fc398303effaca04e9045a9ffb6f9171b6b45d
parenta752447af5b61f19e9c50322d9b07cea9a086084
crypto: hifn_795x - use cancel_delayed_work_sync()

Make hifn_795x::hifn_remove() call cancel_delayed_work_sync() instead
of calling cancel_delayed_work() followed by flush_scheduled_work().

This is to prepare for the deprecation and removal of
flush_scheduled_work().

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hifn_795x.c